{"name":"setAnimSpeedCoef","title":"setAnimSpeedCoef","type":"command","url":"https://community.bistudio.com/wiki/setAnimSpeedCoef","revid":379464,"updated":"2026-10-31T00:10:00Z","groups":["Animations","Stamina System"],"status":"ok","games":{"arma3":"1.54"},"since":"arma3 1.54","arma3_since":"1.54","locality":{"argument":"global","effect":"local"},"description":"Sets a coefficient for animation speed (0.5 will play animations half the speed, 2 twice the speed).\nDoesn't affect upper body animations (reloading, etc.)","syntaxes":[{"syntax":"unit setAnimSpeedCoef coef","params":[{"name":"unit","type":"Object","type_expr":"Object"},{"name":"coef","type":"Number","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unit"},"right":{"text":"coef"}}],"examples":[{"code":["player setAnimSpeedCoef 0.75;"]}],"see_also":["Arma 3: Stamina","getAnimSpeedCoef","setAccTime"],"notes":[{"user":"Demellion","date":"2016-11-14T03:30:00Z","text":"Increasing animation speed of a unit also increases its run/walk speed (thanks to Killzone_Kid)"},{"user":"Demellion","date":"2016-11-27T02:02:00Z","text":"Setting negative values with this makes animations act in reverse or make you stuck sliding in unknown directions."},{"user":"DrSova","date":"2018-11-07T08:39:00Z","text":"Didn't work on animals (A3 1.84.144923)"},{"user":"nomisum","date":"2019-11-14T14:09:00Z","text":"Must be executed on all clients to work properly in MP (otherwise only movement speed is adjusted, not animation itself)"},{"user":"Waffle SS.","date":"2021-10-30T19:41:02Z","text":"For animation speed to control unit speed, this must be executed on the local client.\nNon-local clients can set a speed less than the local client's.\nNon-local clients using an animation speed greater than the local client's may result in the animation freezing."}]}