setFatigue: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 10: | Line 10: | ||
|gr1= Stamina System | |gr1= Stamina System | ||
| Sets the person's fatigue, from 0 to 1. | |descr= Sets the person's fatigue, from 0 to 1. | ||
|s1= unit '''setFatigue''' value | |s1= unit '''setFatigue''' value |
Revision as of 21:21, 13 June 2021
Description
- Description:
- Sets the person's fatigue, from 0 to 1.
- Groups:
- Stamina System
Syntax
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.