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


Introduced in

Version:1.31

Description

Description:

Sets the speed multiplier that defines the speed at which an animation is seen in-game. Changes between animation states remains the same (the unit continues to be able to change from walking to running, and so forth).

Note: Also depends on the setMinAnimationSpeed command, if set.

Syntax

Syntax:object setAnimSpeed speed
Parameters:
  • object : Object - Player or AI unit.
  • speed: Number - 1: normal speed, 0: frozen, 2: twice the normal speed, and so on.
Return Value:Nothing

Examples

Examples:
soldier1 setAnimSpeed 2

Additional Information

See also: getAnimSpeed, setMinAnimationSpeed
Multiplayer:
Problems:

Notes