|
| 03 Jun 2013 10:00 PM |
OK, so I need help with reloading, I want my script to pull out the mag and put a new one in when there is no more ammo in the clip.
I've looked at other guns and tried to read the script and get a basic understanding on how the gun reloads, but I didn't even know what it was talking about.
One thing, I have not started the reload script so I cant show you guys anything because I haven't started it, so please don't ask for a script. |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2013 10:18 PM |
It's probably a certain part you're missing from the script, unless you made it yourself.
King Vagari [Sandinista Empire] Sandinista Empire is back! Stronger and Better! Join Today! |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2013 10:27 PM |
| I just finished a reloading script. Coming from expiriance, I think you'll find making the gun actually reload harder than animation ._. (Unless you're copy/pasting stuff from a FM) |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2013 10:29 PM |
| no I'm making this script myself, I'm not copying and pasting from another script |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2013 10:31 PM |
What script is it? Raycast or bullets?
Either way you probably didn't rename a part Mag or the Handle is missing some founds(Fire,Reload,trigger1,trigger, etc etc)
King Vagari [Sandinista Empire] Sandinista Empire is back! Stronger and Better! Join Today! |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2013 10:32 PM |
In most cases, I've seen a value of the ammo. Once the value is 0, they reload it back to the maximum.
Wreckerbuster67| The Apocalypse Imperium Supreme Overlord, 2iC| Conquest Private 1st Class |
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Jun 2013 10:42 PM |
Add this part after the "OnMouseButton1" Part of the function.
script.Parent.Ammo.Value=script.Parent.Ammo.Value-1
Wreckerbuster67| The Apocalypse Imperium Supreme Overlord, 2iC| Conquest Private 1st Class |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2013 10:44 PM |
Some raycasts don't use reload animations. But if they do a specific part is usually named Mag, did you get the scripts out of a already scripted gun or just the scripts?
King Vagari [Sandinista Empire] Sandinista Empire is back! Stronger and Better! Join Today! |
|
|
| Report Abuse |
|
|
|
| 03 Jun 2013 10:50 PM |
| ive scripted this gun my self, all of the stuff i've scripted is my own scripting knowledge, i haven't used anyone else's scripts |
|
|
| Report Abuse |
|
|