ScriptEvent:getNumFrames

From Mod Wiki

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.