Method Global:GetStateMapId [-] [+]

Returns the map ID of the Lua state. Returns -1 for the "World" state.

Synopsis

mapId = GetStateMapId()

Arguments

None.

Returns

number mapId

Valid numbers: integers from -2,147,483,647 to 2,147,483,647.

Generated on
©2016 - Eluna Lua Engine