getAnimSpeedCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style='display:none'>Notes</h3>" to "")
m (Some wiki formatting)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- getAnimSpeedCoef from EXPORT -->
{{RV|type=command
{{Command
 
|arma3
|game1= arma3
|1.54
|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]];
</code>
| [[Arma 3 Stamina]] [[setAnimSpeedCoef]]
|
}}


<h3 style='display:none'>Bottom Section</h3>
|r1= [[Number]]
{{GameCategory|arma3|New Scripting Commands}}
 
{{GameCategory|arma3|Scripting Commands}}
|x1= <sqf>if (getAnimSpeedCoef player > 1) then { hint "Speedy Gonzales!" };</sqf>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<dl class="command_description">
|seealso= [[Arma 3: Stamina]] [[setAnimSpeedCoef]]
<!-- BEGIN Note Section -->
}}
<!-- END Note Section -->
</dl>

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