getAnimSpeedCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> <!-- BEGIN Note Section --> <!-- END Note Section --> </dl>" to "")
m (Some wiki formatting)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- getAnimSpeedCoef from EXPORT -->
{{RV|type=command
{{RV|type=command
|arma3
 
|1.54
|game1= arma3
|version1= 1.54


|gr1= Animations
|gr1= Animations
Line 8: Line 8:
|gr2= Stamina System
|gr2= Stamina System


| Get coefficient for animation speed.
|descr= Get coefficient for animation speed.
| '''getAnimSpeedCoef''' unit
 
|s1= [[getAnimSpeedCoef]] unit
 
|p1= unit: [[Object]]
|p1= unit: [[Object]]
| [[Number]]
 
|x1= <code>'''getAnimSpeedCoef''' [[player]];
|r1= [[Number]]
</code>
 
| [[Arma 3 Stamina]] [[setAnimSpeedCoef]]
|x1= <sqf>if (getAnimSpeedCoef player > 1) then { hint "Speedy Gonzales!" };</sqf>
 
|seealso= [[Arma 3: Stamina]] [[setAnimSpeedCoef]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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