IsInInstance
functionimplementedavailable in: camelot
Returns true if the player is in an instance, and the type of instance.
function IsInInstance(): (boolean, string)Returns
| # | name | type | description |
|---|---|---|---|
| 1 | isInInstance | boolean | |
| 2 | instanceType | string | The instance type: |
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Instance system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.