ScriptEvent:playAnim

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

Parameters

integer channel -- Channel to play the animation on.
string anim -- Name of the animation to play.

Result

float

Supported By

sdClientAnimated
idAnimatedEntity

Comments

  • If the animation isn't found, the result will be 0.

Functionality

Plays the given animation once on the specified channel, and returns the length of the animation.