Arma 3 Scripting

Command in Object Manipulation

selectNoPlayer

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

Description

Switches player to no unit, makes player return objNull.

Syntax

selectNoPlayer

Returns: Nothing

Examples

Example 1

Single player:

selectNoPlayer;
hint str player; // <NULL-object>

Rough multiplayer emulation:

_noPlayer = createGroup sideLogic createUnit [
    "Logic",
    [0,0,1000],
    [],
    0,
    "NONE"
];
selectPlayer _noPlayer;
hint str player; // L Charlie 4-3:1 (KK)

Multiplayer

Does not work in multiplayer.

See also

selectPlayer