Difference between revisions of "ScriptEvent:weaponState"

From Mod Wiki
 
(No difference)

Latest revision as of 11:12, 5 November 2007

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.