Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.08

Description

Description:Returns the index (and therefore *.rtm file) from the configured array within the animation state of a given unit. See Alternative Animation States for possible alternatives (for now only 1 is available).

Syntax

Syntax:getAlterAnimIndex unit
Parameters:
  • unit: Object - The unit whose animation-state index is returned.
Return Value:Number - The index of the animation state.

Examples

Examples:
getAlterAnimIndex player

Additional Information

See also: setAlterAnimIndex
Multiplayer: 
Problems: 

Notes