Difference between revisions of "getFatigue"

From Bohemia Interactive Community
Jump to navigation Jump to search
(mp note)
m
Line 36: Line 36:
 
<dt class="note">'''[[User:Killzone_Kid|Killzone_Kid]]'''<dd class="note">
 
<dt class="note">'''[[User:Killzone_Kid|Killzone_Kid]]'''<dd class="note">
 
<br>
 
<br>
[[getFatigue]] can be applied to remote unit however it will not read the changes made to unit's fatigue with [[setFatigue]] command. Only natural changes resulting from unit moving will be counted. When applied to local unit, it will read resulting value of natural fatigue combined with artificial changes added locally by [[setFatigue]].<br>
+
[[getFatigue]] can be applied to remote unit however it will not read the changes made to unit's fatigue with [[setFatigue]] command. Only natural changes resulting from unit moving will be counted. When applied to local unit, it will read resulting value of natural fatigue combined with artificial changes added locally by [[setFatigue]]. In short, the server wouldn't know the correct value of remote unit's fatigue if you used [[setFatigue]] on the unit prior.<br>
 
<!-- Note Section END -->
 
<!-- Note Section END -->
 
</dl>
 
</dl>

Revision as of 09:37, 5 April 2014

Template:Command

Notes

Killzone_Kid

getFatigue can be applied to remote unit however it will not read the changes made to unit's fatigue with setFatigue command. Only natural changes resulting from unit moving will be counted. When applied to local unit, it will read resulting value of natural fatigue combined with artificial changes added locally by setFatigue. In short, the server wouldn't know the correct value of remote unit's fatigue if you used setFatigue on the unit prior.

Bottom Section