getFatigue: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (linked to enableFatigue) |
||
Line 20: | Line 20: | ||
</code>|= EXAMPLE1 | </code>|= EXAMPLE1 | ||
|x2= <code> if ('''getFatigue''' player < 0.5) Then {player sideChat "I'm good to go!"}; | |x2= <code> if ('''getFatigue''' player < 0.5) Then { player sideChat "I'm good to go!" }; | ||
</code>|= EXAMPLE2 | </code>|= EXAMPLE2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setFatigue]] |= SEEALSO | | [[setFatigue]], [[enableFatigue]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 12:36, 16 February 2014
Description
- Description:
- Returns fatigue of given unit.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
value = getFatigue player;
- Example 2:
if (getFatigue player < 0.5) Then { player sideChat "I'm good to go!" };
Additional Information
- See also:
- setFatigueenableFatigue
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