Entity::getAnimTotalTime

From RAGE Multiplayer Wiki
Revision as of 16:18, 4 January 2018 by Ragempdev (talk | contribs)

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