ScriptEvent:weaponState
From Mod Wiki
Parameters
string state -- Name of the new state. integer blendFrames -- Number of frames to blend the next animation in with.
Result
None.
Supported By
idWeapon
Comments
- An error will be thrown if the new state cannot be found.
Functionality
Changes the script state in the same manner as setState, and also sets up the blend time for the next animation.