Arma 3 Scripting

setAnimSpeedCoef

  • Global argument
  • Local effect
  • Arma 3 v1.54

Command · also in Stamina System · Markdown · JSON · original wiki page

Description

Sets a coefficient for animation speed (0.5 will play animations half the speed, 2 twice the speed).
Doesn't affect upper body animations (reloading, etc.)

Syntax

unit setAnimSpeedCoef coef

Parameters:

Returns: Nothing

Examples

Example 1

player setAnimSpeedCoef 0.75;

See also

Arma 3: Stamina · getAnimSpeedCoef · setAccTime

Community notes

Demellion

Increasing animation speed of a unit also increases its run/walk speed (thanks to Killzone_Kid)

Demellion

Setting negative values with this makes animations act in reverse or make you stuck sliding in unknown directions.

DrSova

Didn't work on animals (A3 1.84.144923)

nomisum

Must be executed on all clients to work properly in MP (otherwise only movement speed is adjusted, not animation itself)

Waffle SS.

For animation speed to control unit speed, this must be executed on the local client. Non-local clients can set a speed less than the local client's. Non-local clients using an animation speed greater than the local client's may result in the animation freezing.