WoW API: GetPossessInfo

From AddOn Studio
Jump to navigation Jump to search

WoW API < GetPossessInfo


Returns information about a spell on the Possess Bar.

texture, name, enabled = GetPossessInfo(index)


Parameters[edit]

Arguments[edit]

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

Returns[edit]

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[edit]

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