Skip to content

GetLocation

Read the current map location ID from lobby options.

options:GetLocation()

Inputs: None beyond the GameOptions receiver.

Output: The integer value, or nil when it cannot be read.

Errors and unavailable states: An unavailable lobby or unreadable native setting returns nil; no Lua argument is required.

Call on a fresh value from GetCurrentGameOptions(). See Lobby options overview.