GetBJMaxPlayers

comment

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

  • Classic: 12 (hardcoded as bj_MAX_PLAYERS)
  • Reforged: 24
note

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

note

See: bj_MAX_PLAYERS, GetBJMaxPlayerSlots.

patch

1.29.0.8803

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