武装突袭 Wiki
Advertisement
  Arguments of this scripting command don't have to be local to the client the command is executed on

点击图片可看到更多讯息

开始使用于

游戏:
Arma 2
版本:
1.00

描述

描述:
Returns the life state of the given unit. Can be one of:

(Pre-Arma 3)
  • "ALIVE"
  • "DEAD"
  • "DEAD-RESPAWN"
  • "DEAD-SWITCHING"
  • "ASLEEP"
  • "UNCONSCIOUS"

(Arma 3)
  • "HEALTHY"
  • "DEAD"
  • "DEAD-RESPAWN"
  • "DEAD-SWITCHING"
  • "INCAPACITATED"
  • "INJURED"

In Arma 3 lifeState seems to change to "INJURED" when damage aliveUnit >= 0.1 (0.1 seems to be the value defined in config under "InjuredTreshold").

基本句法

句法:
lifeState unit
参数:
unit: Object
返回值:
String

范例

范例1:
_ls = lifeState loon;

额外资讯

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

注意事项

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

Notes

Bottom Section

Advertisement