getAnimSpeedCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Some wiki formatting)
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!-- getAnimSpeedCoef from EXPORT -->
{{RV|type=command
{{Command|= Comments
 
|arma3|= Game name
|game1= arma3
|1.54|= Game version
|version1= 1.54
| Get coefficient for animation speed. |= Description
 
| '''getAnimSpeedCoef''' unit |= Syntax
|gr1= Animations
|p1= unit: [[Object]] |PARAMETER1=
 
| [[Number]] |RETURNVALUE=
|gr2= Stamina System
|x1= <code>'''getAnimSpeedCoef''' [[player]];
 
</code>|EXAMPLE1=  
|descr= Get coefficient for animation speed.
| [[Arma 3 Stamina]] [[setAnimSpeedCoef]] |SEEALSO=
 
|  |MPBEHAVIOUR=
|s1= [[getAnimSpeedCoef]] unit
}}
 
|p1= unit: [[Object]]
 
|r1= [[Number]]


<h3 style='display:none'>Bottom Section</h3>
|x1= <sqf>if (getAnimSpeedCoef player > 1) then { hint "Speedy Gonzales!" };</sqf>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[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 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