| Blockland Forums > Modification Help |
| Image firing twice. |
| (1/1) |
| Jasa1:
Whenever I fire my weapon once it plays the armAttack animation twice. Here's what I have under the image datablock --- Code: --- stateName[0] = "Activate"; stateTimeoutValue[0] = 0.3; stateTransitionOnTimeout[0] = "Ready"; stateName[1] = "Ready"; stateTransitionOnTriggerDown[1] = "PreFire"; stateAllowImageChange[1] = true; stateName[2] = "PreFire"; stateScript[2] = "onPreFire"; stateAllowImageChange[2] = false; stateTimeoutValue[2] = 0.1; stateTransitionOnTimeout[2] = "Fire"; stateName[3] = "Fire"; stateTransitionOnTimeout[3] = "CheckFire"; stateTimeoutValue[3] = 0.3; stateFire[3] = true; stateAllowImageChange[3] = false; stateSequence[3] = "Fire"; stateScript[3] = "onFire"; stateWaitForTimeout[3] = true; stateName[4] = "CheckFire"; stateTransitionOnTriggerUp[4] = "StopFire"; stateTransitionOnTriggerDown[4] = "Fire"; stateName[5] = "StopFire"; stateTransitionOnTimeout[5] = "Ready"; stateTimeoutValue[5] = 0.2; stateAllowImageChange[5] = false; stateWaitForTimeout[5] = true; stateSequence[5] = "StopFire"; stateScript[5] = "onStopFire"; --- End code --- And for some reason Space_Guy's Raycasts collide with items. |
| Jasa1:
Bump |
| Jasa1:
I'm going away for 2 days and I expect this to be answered when I come back. |
| Jasa1:
God damnit people. |
| Jasa1:
Got it working. |
| Navigation |
| Message Index |