setAnimSpeedCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">")
m (Text replacement - " <dd class="notedate">" to " <dt><dt> <dd class="notedate">")
Line 32: Line 32:
<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]])
 
<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>
Line 48: Line 48:
Didn't work on animals (A3 1.84.144923)
Didn't work on animals (A3 1.84.144923)
</dd>
</dd>
 
<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>

Revision as of 00:12, 6 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
AnimationsStamina System

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object
coef: Number
Return Value:
Return value needed

Examples

Example 1:
player setAnimSpeedCoef 0.75;

Additional Information

See also:
See also needed

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)