Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
→ WoW API
Checks whether the player is in an instance and the type of instance.
inInstance, instanceType = IsInInstance()
- Boolean - Whether the player is in an instance; nil otherwise.
- String - The instance type:
- "none" when outside an instance
- "pvp" when in a battleground
- "arena" when in an arena
- "party" when in a 5-man instance
- "raid" when in a raid instance
- nil when in an unknown kind of instance, eg. in a scenario
This functon returns correct results immediately upon PLAYER_ENTERING_WORLD.