Entity::getAnimCurrentTime

From RAGE Multiplayer Wiki
Revision as of 23:41, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns a float value representing animation's current playtime with respect to its total playtime. This value increasing in a range from [0 to 1] and wrap back to 0 when it reach 1.

Example:
0.000000 - mark the starting of animation.
0.500000 - mark the midpoint of the animation.
1.000000 - mark the end of animation.

Animations List : www.ls-multiplayer.com/dev/index.php?section=3

Syntax

entity.getAnimCurrentTime(animDict, animName);

Required Arguments

  • animDict: String
  • animName: String

Return value

  • float

Example

// todo

See also