enableFatigue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added to Object Manipulation command group)
m (example format)
Line 19: Line 19:




|x1= <code>player '''enableFatigue''' false;
|x1= <code>[[player]] [[enableFatigue]] [[false]];</code>|= EXAMPLE1
</code>|= EXAMPLE1
|x2= <code>{ _x [[enableFatigue]] [[false]]; } [[forEach]] ([[units]] [[group]] [[player]]);</code>|= EXAMPLE2
|x2= <code>{ _x '''enableFatigue''' false; } forEach (units group player);
</code>|= EXAMPLE2


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 06:10, 29 July 2014

Hover & click on the images for description

Description

Description:
Enables/Disables the person's fatigue.
Groups:
Uncategorised

Syntax

Syntax:
unit enableFatigue enable
Parameters:
unit: Object
enable: Boolean
Return Value:
Nothing

Examples

Example 1:
player enableFatigue false;
Example 2:
{ _x enableFatigue false; } forEach (units group player);

Additional Information

See also:
getFatiguesetFatigue

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

Notes

Bottom Section