setAnimSpeedCoef: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - ">Posted on November ([0-9]{1})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-11-0$1") |
||
Line 41: | Line 41: | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on | <dd class="notedate">Posted on 2018-11-07 - 08:39 (UTC)</dd> | ||
<dt class="note">[[User:DrSova|DrSova]]</dt> | <dt class="note">[[User:DrSova|DrSova]]</dt> | ||
<dd class="note">Didn't work on animals (A3 1.84.144923)</dd> | <dd class="note">Didn't work on animals (A3 1.84.144923)</dd> |
Revision as of 23:12, 13 May 2023
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.) - Groups:
- AnimationsStamina System
Syntax
- Syntax:
- unit setAnimSpeedCoef coef
- Parameters:
- unit: Object
- coef: Number
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- Arma 3: Stamina getAnimSpeedCoef setAccTime
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- 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.
- Posted on 2018-11-07 - 08:39 (UTC)
- DrSova
- Didn't work on animals (A3 1.84.144923)
- Posted on November 14, 2019 - 14:09 (UTC)
- nomisum
- Must be executed on all clients to work properly in MP (otherwise only movement speed is adjusted, not animation itself)
- Posted on Oct 30, 2021 - 19:41 (UTC)
- 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.