Arma 3 Scripting

Command in Variables

objNull

Also available as Markdown and JSON, or read the original wiki page.

Description

A non-existent Object. To compare non-existent objects use isNull or isEqualTo:

objNull == objNull;            // false
objNull != objNull;            // true
isNull objNull;                // true
objNull isEqualTo objNull;    // true
typeName objNull;           // "OBJECT"

Syntax

objNull

Returns: Object

Examples

Example 1

player == player; // false if player is null

Example 2

isNull player; // true if player is null

Example 3

str objNull // <NULL-object>

Example 4

position objNull // [0,0,0]

See also

controlNull · displayNull · grpNull · locationNull · taskNull · teamMemberNull · scriptNull · configNull · netObjNull · typeName · isNull