Skip to main content

Entity::getAnimTotalTime

Returns a float value representing animation's total playtime in milliseconds.

Example: GET_ENTITY_ANIM_TOTAL_TIME(PLAYER_ID(),'amb@world_human_yoga@female@base','base_b') return 20800.000000

Syntax

```js entity.getAnimTotalTime(animDict, animName); ```

Required Arguments

  • animDict: String
  • animName: String

Return value

  • float

Example

```js // todo ```

See also