---
name: "selectNoPlayer"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/selectNoPlayer
revid: 369361
updated: 2024-09-03T18:43:06Z
---

# selectNoPlayer

*Command · Object Manipulation · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Switches player to no unit, makes [player](../commands/player.md) return [objNull](../commands/objNull.md).

## Syntax

```sqf
selectNoPlayer
```

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

Single player:

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

Rough multiplayer emulation:

```sqf
_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](../commands/selectPlayer.md)

<sub>Source: [BI Community Wiki — selectNoPlayer](https://community.bistudio.com/wiki/selectNoPlayer) (revision 369361).</sub>
