isNull

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in Operation Flashpoint version 1.00Arguments of this scripting command don't have to be local to the client the command is executed on

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Checks whether the tested item is Null.
Which null type the item has to be equal to depends on the type of object tested:
Note: A test via == does not work, because, for example, objNull is not equal to anything, not even to itself.

Syntax

Syntax:
isNull obj
Parameters:
obj: Object, Control, Display, Group (or Location, Task since ARMA 2)
Return Value:
Boolean

Examples

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

Additional Information

Multiplayer:
-
See also:
controlNull, displayNull, grpNull, locationNull, objNull, taskNull, teamMemberNull

Notes

Notes

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section