getAnimSpeedCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Some wiki formatting)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command
|game1= arma3
|game1= arma3
|version1= 1.54
|version1= 1.54
Line 8: Line 9:


|descr= Get coefficient for animation speed.
|descr= Get coefficient for animation speed.
|s1= [[getAnimSpeedCoef]] unit
|s1= [[getAnimSpeedCoef]] unit


|p1= unit: [[Object]]
|p1= unit: [[Object]]
|r1= [[Number]]
|r1= [[Number]]


|x1= <sqf>'''getAnimSpeedCoef''' player;
|x1= <sqf>if (getAnimSpeedCoef player > 1) then { hint "Speedy Gonzales!" };</sqf>
</sqf>
 
|seealso= [[Arma 3: Stamina]] [[setAnimSpeedCoef]]
|seealso= [[Arma 3: Stamina]] [[setAnimSpeedCoef]]
}}
}}

Latest revision as of 13:45, 22 May 2022

Hover & click on the images for description

Description

Description:
Get coefficient for animation speed.
Groups:
AnimationsStamina System

Syntax

Syntax:
getAnimSpeedCoef unit
Parameters:
unit: Object
Return Value:
Number

Examples

Example 1:
if (getAnimSpeedCoef player > 1) then { hint "Speedy Gonzales!" };

Additional Information

See also:
Arma 3: Stamina setAnimSpeedCoef

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