enableStamina: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (Text replacement - "Bool" to "Boolean")
Line 8: Line 8:
| unit '''enableStamina''' enabled |SYNTAX=
| unit '''enableStamina''' enabled |SYNTAX=
|p1= unit: [[Object]] |PARAMETER1=  
|p1= unit: [[Object]] |PARAMETER1=  
|p2= enabled: [[Bool]] |PARAMETER2=
|p2= enabled: [[Boolean]] |PARAMETER2=
| Nothing |RETURNVALUE=  
| Nothing |RETURNVALUE=  
|x1= <code>player '''enableStamina''' true;
|x1= <code>player '''enableStamina''' true;

Revision as of 01:18, 24 August 2020


Hover & click on the images for description

Description

Description:
Enable/disable stamina system
Groups:
Uncategorised

Syntax

Syntax:
unit enableStamina enabled
Parameters:
unit: Object
enabled: Boolean
Return Value:
Nothing

Examples

Example 1:
player enableStamina true;

Additional Information

See also:
Arma 3 Stamina

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

Bottom Section