Difference between revisions of "ScriptEvent:playCycle"

From Mod Wiki
 
(No difference)

Latest revision as of 11:48, 5 November 2007

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

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