setAnimSpeedCoef

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.54
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.54

Description

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

Syntax:
unit setAnimSpeedCoef coef
Parameters:
unit: Object
coef: Number
Return Value:
Nothing

Examples

Example 1:
player setAnimSpeedCoef 0.75;

Additional Information

Multiplayer:
-
See also:
Arma 3 StaminagetAnimSpeedCoefsetAccTime

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Bottom Section

Notes

Posted on November 14, 2016 - 03:30
Demellion
Increasing animation speed of a unit also increases its run/walk speed (thanks to Killzone Kid)
Posted on November 27, 2016 - 02:02
Demellion
Setting negative values with this makes animations act in reverse or make you stuck sliding in unknown directions.