Difference between revisions of "enableFatigue"

From Bohemia Interactive Community
Jump to navigation Jump to search
(added 2 examples; linked to getFatigue/setFatigue)
Line 19: Line 19:
  
  
|x1= <code>
+
|x1= <code>player '''enableFatigue''' false;
</code>|= EXAMPLE1  
+
</code>|= EXAMPLE1
 +
|x2= <code>{ _x '''enableFatigue''' false; } forEach (units group player);
 +
</code>|= EXAMPLE2
  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| |= SEEALSO  
+
| [[getFatigue]], [[setFatigue]] |= SEEALSO  
  
 
|  |= MPBEHAVIOUR  
 
|  |= MPBEHAVIOUR  

Revision as of 13:35, 16 February 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