SetRandomMapPoolLocations¶
Set the lobby map pool to one location ID.
options:SetRandomMapPoolLocations(locations)
Inputs: locations is a dense table containing exactly one integer map location ID.
Output: true when the local lobby options write succeeds; otherwise false. This does not confirm replication or host acceptance.
Errors and unavailable states: Wrong table or element type raises a Lua argument error. A table whose length is not one returns false. An unavailable lobby, active match, missing layout, or failed write also returns false.
Call on a fresh value from GetCurrentGameOptions(). See Lobby options overview.