FANDOM


Introduced with Arma 3 version 0.50
  Arguments global

点击图片可看到更多讯息

开始使用于

游戏:
Arma 3
版本:
0.50

描述

描述:
Returns fatigue of given unit.

基本句法

句法:
getFatigue unit
参数:
unit: Object
返回值:
Number

范例

范例1:
value = getFatigue player;

范例2:
if (getFatigue player < 0.5) then { player sideChat "I'm good to go!" };

额外资讯

多人游戏:
-
也可以看看:

setFatigueenableFatigue

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

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