scriptNull

Operand types

None

Type of returned value

Description

A non-existing Script or script that has finished (scriptDone).
This value is not equal to anything, including itself.

Used In

Arma3

Example

_script = scriptNull;
for "_i" from 1 to 10 do {
waitUntil {isNull _script};
_script = 0 spawn {
hint "script started";
sleep 1;
hint "script finished";
};
};
Search OFPEC COMREF