getStamina: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "<!-- getStamina from EXPORT --> {{Command|= Comments |arma3|= Game name |1.54|= Game version | Get current stamina (~ seconds until depletion) |= Description | '''getStamina''...")
 
m (see also)
Line 9: Line 9:
|x1= <code>'''getStamina''' player;
|x1= <code>'''getStamina''' player;
</code>|= EXAMPLE1  
</code>|= EXAMPLE1  
| [[Arma 3 Stamina]] |= SEEALSO  
| [[Arma 3 Stamina]] [[setStamina]] [[setFatigue]] [[getFatigue]] |= SEEALSO  
|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  
}}
}}


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
Line 22: Line 23:
<!-- END Note Section -->
<!-- END Note Section -->
</dl>
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Revision as of 15:00, 15 May 2017


Hover & click on the images for description

Description

Description:
Get current stamina (~ seconds until depletion)
Groups:
Uncategorised

Syntax

Syntax:
getStamina unit;
Parameters:
unit: Object
Return Value:
Number

Examples

Example 1:
getStamina player;

Additional Information

See also:
Arma 3 Stamina setStamina setFatigue getFatigue

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

Bottom Section

Notes