ScriptEvent:getNumFrames

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

Parameters

string name -- Name of the animation.

Result

float

Supported By

sdClientAnimated
idAnimatedEntity

Comments

  • If the animation cannot be found, the result will be 0.

Functionality

Returns the number of frames in the given animation.