WoW API: GetPossessInfo

From AddOn Studio
Revision as of 00:36, 19 November 2008 by WoWWiki>Tuhljin (New page: {{wowapi}} __NOTOC__ {{Stub/API}} <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> Returns information about a spell on the Possess Bar. ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetPossessInfo


Returns information about a spell on the Possess Bar.

texture, name, enabled = GetPossessInfo(index)


Parameters

Arguments

(index)
index
Number - The slot of the possess bar to check.

Returns

texture
String - The icon texture used for the spell in this slot.
name
String - The name of the spell in this slot.
enabled
Boolean - Whether there is a usable spell at the given index. (This return value's information is assumed - confirmation is needed.)


Details

  • The Possess Bar is shown by the default UI when the player is controlling another target, such as while channeling Mind Control.