ScriptEvent:animState

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

Parameters

integer channel -- Channel to change the state of.
string state -- State to change to.
integer fames -- Number of blend frames to set.

Result

None.

Supported By

idActor

Comments

  • An error will be thrown if the state function does not exist.
  • This works in similar fashion to setState.

Functionality

Specifies the new state function to switch to for the given animation channel thread, as well as setting the next blend frames value.