setAnimSpeedCoef: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Add small information about upper body animation) |
||
Line 1: | Line 1: | ||
{{Command|= Comments | {{Command|= Comments | ||
|arma3|= Game name | |arma3|= Game name | ||
|1.54|= Game version | |1.54|= Game version | ||
| Sets a coefficient for animation speed |= Description | |||
| unit | | Sets a coefficient for animation speed (0.5 will play animations half the speed, 2 twice the speed).<br /> | ||
|p1= unit: [[Object]] |= | Doesn't affect upper body animations (reloading, etc.) |= Description | ||
|p2= coef: [[Number]] |= | |||
| Nothing |= | | unit [[setAnimSpeedCoef]] coef |= Syntax | ||
|x1= <code> [[player]] | |||
</code>|= | |p1= unit: [[Object]] |= Parameter 1 | ||
| [[Arma 3 Stamina]] [[getAnimSpeedCoef]] |= | |||
| |= | |p2= coef: [[Number]] |= Parameter 2 | ||
| Nothing |= Return value | |||
|x1= <code>[[player]] [[setAnimSpeedCoef]] 0.75;</code>|= Example 1 | |||
| [[Arma 3 Stamina]], [[getAnimSpeedCoef]], [[setAccTime]] |= See also | |||
| |= MP Behaviour | |||
}} | }} | ||
Line 23: | Line 32: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on November 14, 2016 - 03:30 | <dd class="notedate">Posted on November 14, 2016 - 03:30 | ||
<dt class="note"> | <dt class="note">[[User:Demellion|Demellion]] | ||
<dd class="note">Increasing animation speed of a unit also increases its run/walk speed (thanks to | <dd class="note">Increasing animation speed of a unit also increases its run/walk speed (thanks to [[User:Killzone_Kid|Killzone Kid]]) | ||
<dd class="notedate">Posted on November 27, 2016 - 02:02 | <dd class="notedate">Posted on November 27, 2016 - 02:02 | ||
<dt class="note"> | <dt class="note">[[User:Demellion|Demellion]] | ||
<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. | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 11:28, 11 April 2018
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:
- Uncategorised
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
Bottom Section
Notes
- 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.