getAnimSpeedCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (Some wiki formatting)
 
(33 intermediate revisions by 5 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]] |= SEEALSO
 
|  |= MPBEHAVIOUR
|s1= [[getAnimSpeedCoef]] unit
}}
 
|p1= unit: [[Object]]


<h3 style='display:none'>Bottom Section</h3>
|r1= [[Number]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<h3 style='display:none'>Notes</h3>
|x1= <sqf>if (getAnimSpeedCoef player > 1) then { hint "Speedy Gonzales!" };</sqf>
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[Arma 3: Stamina]] [[setAnimSpeedCoef]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands Arma 3|{{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