GetEntityAnimationLength()

Syntax

Result = GetEntityAnimationLength(#Entity, Animation$)
Description
Returns the #Entity animation length.

Parameters

#Entity The entity to use.
Animation$ The animation name. The animations are stored in the mesh object in a case-sensitive manner (ie: "Walk" will be a different animation than "walk"). If the animation isn't found or the mesh doesn't have a skeleton, this function will have no effect.

Return value

The entity animation length (in milliseconds).

See Also

StartEntityAnimation(), SetEntityAnimationLength()

Supported OS

All

<- EntityAnimationStatus() - EntityAnimation Index - GetEntityAnimationTime() ->