ZONE_CHANGED_INDOORS
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 2.0.3 / 1.13.2 |
Fires when the player enters an indoors subzone.
ZONE_CHANGED_INDOORS
Payload
None
Details
Related API | GetSubZoneText |
Related Events | ZONE_CHANGED |
Example
In Shrine of Seven Stars, when moving from The Emperor's Step to The Golden Lantern.
local function OnEvent(self, event, ...)
print(event, GetSubZoneText())
end
local f = CreateFrame("Frame")
f:RegisterEvent("ZONE_CHANGED_INDOORS")
f:SetScript("OnEvent", OnEvent)
> "ZONE_CHANGED_INDOORS", "The Emperor's Step"
> "ZONE_CHANGED_INDOORS", "The Golden Lantern"