Entity::getAnimTotalTime: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
 
Line 12: Line 12:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Entity_function_c}}
{{Entity_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 17:58, 1 May 2024

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