WoW API: GetInstanceInfo

From AddOn Studio
Revision as of 14:51, 5 August 2009 by WoWWiki>Zynissa (Created page with '{{wowapi}} __NOTOC__ Returns information about the current instances the player is in. name, type, difficulty, difficultyName = GetInstanceInfo() === Returns === :;name : Str...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetInstanceInfo

Returns information about the current instances the player is in.

name, type, difficulty, difficultyName = GetInstanceInfo()

Returns

name
String - the name of the instance (localized)
type
String - "none" if the player is not in an instance, "party" if in party,
difficulty
Number - the difficulty of the raid instance
difficultyName
String - the difficulty of the raid instance

Details

  • Added in 3.2