FANDOM


Introduced with Operation Flashpoint version 1.00
  Arguments global

点击图片可看到更多讯息

开始使用于

游戏:
Operation Flashpoint
版本:
1.00

描述

描述:
Checks whether the tested item is Null.
Which null type the item has to be equal to depends on the type of game entity tested:

Note: A test via == does not work, because, for example, objNull is not equal to anything, not even to itself. Use isEqualTo.

基本句法

句法:
isNull entity
参数:
entity: Object, Control, Display, Group (or Location, Task since ARMA 2 (or Script since Arma 3 1.29.127075))
返回值:
Boolean

范例

范例1:
if (isNull obj) then {hint "doesn't exist";};

额外资讯

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

controlNulldisplayNullgrpNulllocationNullobjNulltaskNullteamMemberNullscriptNullconfigNulltypeName

注意事项

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

Notes

Bottom Section

Posted on December 9, 2015 - 11:29 (UTC)
Commy2
isNull does not work with the TEAM_MEMBER type. Use this instead: _tmember isEqualTo teamMemberNull

Posted on December 9, 2015 - 11:38 (UTC)
Commy2
The note in the description does not apply to the CONFIG type, probably due to backwards compatibility.
configNull == configNull -> true

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

查看其他FANDOM

随机维基