ScriptEvent:getAnimLength

From Mod Wiki

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.