EntityAnimationStatus()
Syntax
Result = EntityAnimationStatus(#Entity, Animation$)Description
Return the specified #Entity animation status.
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 return value can be one of the following constants:#PB_EntityAnimation_Stopped: The animation is stopped (or has ended). #PB_EntityAnimation_Started: The animation is running. #PB_EntityAnimation_Unknown: The animation doesn't exist in the mesh object.
See Also
StartEntityAnimation(), StopEntityAnimation()
Supported OS
All