setFatigue: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 10: | Line 9: | ||
|gr1= Stamina System |GROUP1= | |gr1= Stamina System |GROUP1= | ||
| Sets the person's fatigue, from 0 to 1. |DESCRIPTION= | | Sets the person's fatigue, from 0 to 1. |DESCRIPTION= | ||
| unit '''setFatigue''' value |SYNTAX= | | unit '''setFatigue''' value |SYNTAX= | ||
Line 27: | Line 24: | ||
</code>|EXAMPLE1= | </code>|EXAMPLE1= | ||
| [[Arma 3 Stamina]] [[getFatigue]] [[enableFatigue]] [[setStamina]] [[getStamina]] [[enableStamina]] |SEEALSO= | | [[Arma 3 Stamina]] [[getFatigue]] [[enableFatigue]] [[setStamina]] [[getStamina]] [[enableStamina]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 02:48, 17 January 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
Notes
- 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.