getAnimSpeedCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
m (Some wiki formatting)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command
|arma3
 
|1.54
|game1= arma3
|version1= 1.54


|gr1= Animations
|gr1= Animations
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= <code>'''getAnimSpeedCoef''' [[player]];
|x1= <sqf>if (getAnimSpeedCoef player > 1) then { hint "Speedy Gonzales!" };</sqf>
</code>
 
|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