ScriptEvent:weaponState

From Mod Wiki
Revision as of 11:12, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.