ScriptEvent:getAnimLength

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

Parameters

string anim -- Name of the animation.

Result

float

Supported By

idAnimatedEntity

Comments

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

Functionality

Returns the length of the animation in seconds.