---
name: "setPlayable"
type: command
status: broken
groups: ["Broken Commands", "Multiplayer"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/setPlayable
revid: 341452
updated: 2023-05-30T10:27:23Z
---

# setPlayable

*Command · Broken Commands, Multiplayer · Arma 3 v0.50 · introduced in Operation Flashpoint: Elite v1.00*

> [!WARNING]
> This command is listed as broken on the wiki.

## Description

Create a multiplayer role for the unit. The roles created this way are used for [Join In Progress](../topics/Multiplayer_Scripting.md#join-in-progress) and Team Switch.

## Syntax

```sqf
setPlayable unitName
```

**Parameters:**

- `unitName`: [Object](../topics/Object.md)

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

## Examples

### Example 1

```sqf
setPlayable _aPerson;
```

## Problems

> [!WARNING]
> This command does not work as intended and currently does nothing in Arma 3.

## See also

[addSwitchableUnit](../commands/addSwitchableUnit.md)

## Community notes

**Lou Montana** — 2009-12-19

If you want to add a TeamSwitchable unit (at least in Arma 2), better use [addSwitchableUnit](../commands/addSwitchableUnit.md).

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