EntityAnimationStatus()

语法

Result = EntityAnimationStatus(#Entity, Animation$)
概要
Return the specified #Entity animation status.

参数

#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.

返回值

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.

参阅

StartEntityAnimation(), StopEntityAnimation()

已支持操作系统

所有

<- EntityAnimationBlendMode() - EntityAnimation Index - GetEntityAnimationLength() ->