ScriptEvent:animState

From Mod Wiki

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.