setAnimSpeedCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "</dd> </dl>" to "</dd> </dl>")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma3
|game1= arma3
 
|version1= 1.54
|1.54


|gr1= Animations
|gr1= Animations
Line 9: Line 8:
|gr2= Stamina System
|gr2= Stamina System


| Sets a coefficient for animation speed (0.5 will play animations half the speed, 2 twice the speed).<br>
|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.)
Doesn't affect upper body animations (reloading, etc.)


|s1= unit [[setAnimSpeedCoef]] coef
|s1= unit [[setAnimSpeedCoef]] coef


|p1= unit: [[Object]]
|p1= unit: [[Object]]
Line 22: Line 21:
|x1= <code>[[player]] [[setAnimSpeedCoef]] 0.75;</code>
|x1= <code>[[player]] [[setAnimSpeedCoef]] 0.75;</code>


| [[Arma 3: Stamina]], [[getAnimSpeedCoef]], [[setAccTime]]
|seealso= [[Arma 3: Stamina]], [[getAnimSpeedCoef]], [[setAccTime]]
 
|  |= MP Behaviour
}}
}}


Line 32: Line 29:
<dd class="notedate">Posted on November 14, 2016 - 03:30</dd>
<dd class="notedate">Posted on November 14, 2016 - 03:30</dd>
<dt class="note">[[User:Demellion|Demellion]]</dt>
<dt class="note">[[User:Demellion|Demellion]]</dt>
<dd class="note">Increasing animation speed of a unit also increases its run/walk speed (thanks to [[User:Killzone_Kid|Killzone Kid]])
<dd class="note">Increasing animation speed of a unit also increases its run/walk speed (thanks to [[User:Killzone_Kid|Killzone Kid]])</dd>
 
<dt><dt>
<dt><dt>
<dd class="notedate">Posted on November 27, 2016 - 02:02</dd>
<dd class="notedate">Posted on November 27, 2016 - 02:02</dd>
<dt class="note">[[User:Demellion|Demellion]]</dt>
<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 class="note">Setting negative values with this makes animations act in reverse or make you stuck sliding in unknown directions.</dd>


<dt></dt>
<dt></dt>
<dd class="notedate">Posted on November 7, 2018 - 08:39 (UTC)</dd>
<dd class="notedate">Posted on November 7, 2018 - 08:39 (UTC)</dd>
<dt class="note">[[User:DrSova|DrSova]]</dt>
<dt class="note">[[User:DrSova|DrSova]]</dt>
<dd class="note">
<dd class="note">Didn't work on animals (A3 1.84.144923)</dd>
Didn't work on animals (A3 1.84.144923)
</dd>


<dt><dt>
<dt><dt>
<dd class="notedate">Posted on November 14, 2019 - 14:09 (UTC)</dd>
<dd class="notedate">Posted on November 14, 2019 - 14:09 (UTC)</dd>
<dt class="note">[[User:nomisum|nomisum]]</dt>
<dt class="note">[[User:nomisum|nomisum]]</dt>
<dd class="note">
<dd class="note">Must be executed on all clients to work properly in MP (otherwise only movement speed is adjusted, not animation itself)</dd>
Must be executed on all clients to work properly in MP (otherwise only movement speed is adjusted, not animation itself)
</dd>


</dl>
</dl>

Revision as of 17:53, 13 June 2021

Hover & click on the images for description

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:
player setAnimSpeedCoef 0.75;

Additional Information

See also:
Arma 3: StaminagetAnimSpeedCoefsetAccTime

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 November 7, 2018 - 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)