GetEntityAnimationTime()

语法

Result = GetEntityAnimationTime(#Entity, Animation$)
概要
Returns the current #Entity animation time.

参数

#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 current entity animation time (in milliseconds) or 0 if the animation isn't running.

参阅

StartEntityAnimation(), AddEntityAnimationTime(), SetEntityAnimationTime()

已支持操作系统

所有

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