GetBJMaxPlayerSlots

comment

Returns the maximum number of internal player slots regardless of map options.

  • Classic: 16 (hardcoded as bj_MAX_PLAYER_SLOTS)
  • Reforged: 28
note

This is only affected by WorldEditor version (>=6060) specified in the map's war3map.w3i file. Further reading.

note

See: bj_MAX_PLAYER_SLOTS, GetBJMaxPlayers.

patch

1.29.0.8803

Source
common.j
return type
integer
Source code
constant native GetBJMaxPlayerSlots         takes nothing returns integer