| Blockland Forums > Modification Help |
| Modifying a weapon's type of fire? |
| (1/1) |
| FrogFreak:
What part of the script do I want to be looking for to modify a weapon to make it an automatically firing weapon or where you need to click to fire constantly? |
| Chrono:
The states at the end of the image. Looks crazy doesn't it? |
| FrogFreak:
Well, which part of it do I modify, or would it be that the whole thing has different lines in it that contribute to the type of fire determined? |
| Uristqwerty:
Look at the stateTransitionOn(some words)[(some number)] = "(some state name)"; lines. Guns that fire once per shot us a stateTransitionOnTriggerUp, while you could change it to ...OnTimeout to have it automatically fire again, although you might need more than that... It's a good idea to try to understand how the states work, because you can do some really awesome things with them. |
| Navigation |
| Message Index |