Arma 3 Scripting

Command in Multiplayer

playableSlotsNumber

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

Description

Returns the number of available slots in mission per side (both empty and taken). In singleplayer mission, it returns number of playable units per side.

Syntax

playableSlotsNumber side

Parameters:

Returns: Number

Examples

Example 1

_maxBluforPlayers = playableSlotsNumber blufor;

See also

playersNumber · playableUnits · switchableUnits