setFatigue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(locality added)
(note on mp effect)
Line 36: Line 36:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
<dd class="notedate">Posted on 05 April, 2014
<dt class="note">'''[[User:Killzone_Kid|Killzone_Kid]]'''<dd class="note">
<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>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 10:30, 5 April 2014

Hover & click on the images for description

Description

Description:
Sets the person's fatigue, from 0 to 1.
Groups:
Uncategorised

Syntax

Syntax:
unit setFatigue value
Parameters:
unit: Object
value: Number
Return Value:
Nothing

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.

Bottom Section