Originally Posted by Banknorris
I try to avoid to use SetMapToCurrentZone() as much as I can (so far I could totally avoid it) because it will interfere with the user watching another map.
|
This method is safe:
Lua Code:
local oldAreaID = GetCurrentMapAreaID()
SetMapToCurrentZone()
-- store the current area ID
local areaID = GetCurrentMapAreaID()
SetMapByID(oldAreaID)
-- do things