setAnimSpeedCoef: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "Killzone Kid" to "Killzone_Kid") |
||
(49 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | |||
{{ | |||
|arma3|= | |game1= arma3 | ||
|version1= 1.54 | |||
| Sets a coefficient for animation speed |= | |||
|gr1= Animations | |||
|p1= unit: [[Object]] | |||
|p2= coef: [[Number]] |= | |gr2= Stamina System | ||
|x1= < | |arg= global | ||
</ | |||
|eff= local | |||
|descr= Sets a coefficient for animation speed (0.5 will play animations half the speed, 2 twice the speed).<br> | |||
Doesn't affect upper body animations (reloading, etc.) | |||
|s1= unit [[setAnimSpeedCoef]] coef | |||
|p1= unit: [[Object]] | |||
|p2= coef: [[Number]] | |||
|r1= [[Nothing]] | |||
|x1= <sqf>player setAnimSpeedCoef 0.75;</sqf> | |||
|seealso= [[Arma 3: Stamina]] [[getAnimSpeedCoef]] [[setAccTime]] | |||
}} | }} | ||
< | <dl class="command_description"> | ||
< | <dt></dt> | ||
<dd class="notedate">Posted on 2016-11-14 - 03:30</dd> | |||
<dt class="note">[[User:Demellion|Demellion]]</dt> | |||
<dd class="notedate">Posted on | <dd class="note">Increasing animation speed of a unit also increases its run/walk speed (thanks to [[User:Killzone_Kid|Killzone_Kid]])</dd> | ||
<dt class="note"> | |||
<dd class="note">Increasing animation speed | <dt><dt> | ||
<dd class="notedate">Posted on 2016-11-27 - 02:02</dd> | |||
<dt class="note">[[User:Demellion|Demellion]]</dt> | |||
<dd class="note">Setting negative values with this makes animations act in reverse or make you stuck sliding in unknown directions.</dd> | |||
<dt></dt> | |||
<dd class="notedate">Posted on 2018-11-07 - 08:39 (UTC)</dd> | |||
<dt class="note">[[User:DrSova|DrSova]]</dt> | |||
<dd class="note">Didn't work on animals (A3 1.84.144923)</dd> | |||
<dt><dt> | |||
<dd class="notedate">Posted on 2019-11-14 - 14:09 (UTC)</dd> | |||
<dt class="note">[[User:nomisum|nomisum]]</dt> | |||
<dd class="note">Must be executed on all clients to work properly in MP (otherwise only movement speed is adjusted, not animation itself)</dd> | |||
</dl> | </dl> | ||
{{Note | |||
|user= Waffle SS. | |||
|timestamp= 20211030194102 | |||
|text= 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. | |||
}} |
Latest revision as of 13:48, 12 March 2024
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 2016-11-14 - 03:30
- Demellion
- Increasing animation speed of a unit also increases its run/walk speed (thanks to Killzone_Kid)
- Posted on 2016-11-27 - 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 2019-11-14 - 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.