GetEntityAnimationTime()
Syntax
Result = GetEntityAnimationTime(#Entity, Animation$)Description
Returns the current #Entity animation time.
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 current entity animation time (in milliseconds) or 0 if the animation isn't running.
See Also
StartEntityAnimation(), AddEntityAnimationTime(), SetEntityAnimationTime()
Supported OS
All