setFatigue: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (note on mp effect) |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 39: | Line 39: | ||
<dt class="note">'''[[User:Killzone_Kid|Killzone_Kid]]'''<dd class="note"> | <dt class="note">'''[[User:Killzone_Kid|Killzone_Kid]]'''<dd class="note"> | ||
<br> | <br> | ||
[[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.<br> | [[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.<br> | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 09:35, 5 April 2014
Description
- Description:
- Sets the person's fatigue, from 0 to 1.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
player setFatigue 1;
Additional Information
- See also:
- getFatigueenableFatigue
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.