Entity::getAnimTotalTime

From RAGE Multiplayer Wiki
Revision as of 17:58, 1 May 2024 by Shr0x (talk | contribs) (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

entity.getAnimTotalTime(animDict, animName);

Required Arguments

  • animDict: String
  • animName: String

Return value

  • float

Example

// todo

See also