setFatigue: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "<code> +" to "<code>") |
||
Line 20: | Line 20: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code> player '''setFatigue''' 1; | |x1= <code>player '''setFatigue''' 1; | ||
</code> | </code> | ||
Revision as of 22:47, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Stamina System
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unit: Object
- value: Number
- Return Value:
- Nothing
Examples
- Example 1:
player setFatigue 1;
Additional Information
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
- Posted on 05 April, 2014
- Killzone_Kid
-
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.