getAnimSpeedCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}")
m (Some wiki formatting)
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- getAnimSpeedCoef from EXPORT -->
{{RV|type=command
{{Command|Comments=
|arma3|Game name=
|1.54|Game version=


|gr1= Animations |GROUP1=
|game1= arma3
|version1= 1.54


|gr2= Stamina System |GROUP2=
|gr1= Animations


| Get coefficient for animation speed. |DESCRIPTION=
|gr2= Stamina System
| '''getAnimSpeedCoef''' unit |SYNTAX=
 
|p1= unit: [[Object]] |PARAMETER1=
|descr= Get coefficient for animation speed.
| [[Number]] |RETURNVALUE=
 
|x1= <code>'''getAnimSpeedCoef''' [[player]];
|s1= [[getAnimSpeedCoef]] unit
</code>|EXAMPLE1=  
 
| [[Arma 3 Stamina]] [[setAnimSpeedCoef]] |SEEALSO=
|p1= unit: [[Object]]
|  |MPBEHAVIOUR=
 
}}
|r1= [[Number]]


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


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

Latest revision as of 14: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