getAnimSpeedCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Some wiki formatting)
 
(4 intermediate revisions 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= <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