getStamina: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (template:command argument fix)
Line 5: Line 5:
| Get current stamina (~ seconds until depletion) |= Description
| Get current stamina (~ seconds until depletion) |= Description
| '''getStamina''' unit; |= Syntax
| '''getStamina''' unit; |= Syntax
|p1= unit: [[Object]] |= PARAMETER1
|p1= unit: [[Object]] |PARAMETER1=  
| [[Number]] |= RETURNVALUE
| [[Number]] |RETURNVALUE=  
|x1= <code>'''getStamina''' player;
|x1= <code>'''getStamina''' player;
</code>|= EXAMPLE1
</code>|EXAMPLE1=  
| [[Arma 3 Stamina]] [[setStamina]] [[setFatigue]] [[getFatigue]] |= SEEALSO
| [[Arma 3 Stamina]] [[setStamina]] [[setFatigue]] [[getFatigue]] |SEEALSO=  
|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
}}
}}



Revision as of 11:33, 7 April 2019


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