Jump to navigation Jump to search
Revision as of 14:25, 5 May 2022 by Lou Montana (talk | contribs) (Text replacement - "<code>([a-zA-Z0-9_]+) +\[\[([a-zA-Z0-9_]+)\]\] +([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
- Sets the person's fatigue, from 0 to 1.
- Stamina System
- unit setFatigue value
- unit: Object
- value: Number - in 0..1 available fatigue range: 0 is fully energised, 1 is fully exhausted
- Return Value:
- Example 1:
- player setFatigue 1;
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
- Posted on 05 April, 2014
- setFatigue will affect fatigue of a local unit only. If you execute it on remote unit, the getFatigue value will only change locally with no effect on remote unit. Scripted setFatigue changes don't broadcast at all. In short, use setFatigue on local units only.