getStamina: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (see also)
Line 9: Line 9:
|x1= <code>'''getStamina''' player;
|x1= <code>'''getStamina''' player;
</code>|= EXAMPLE1  
</code>|= EXAMPLE1  
| [[Arma 3 Stamina]] [[setStamina]] [[setFatigue]] [[getFatigue]] |= SEEALSO  
| [[Arma 3 Stamina]] [[setStamina]] [[enableStamina]] [[setFatigue]] [[getFatigue]] |= SEEALSO  
|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  
}}
}}

Revision as of 14:05, 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 enableStamina 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