WoW API: GetPossessInfo

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetPossessInfo to API GetPossessInfo without leaving a redirect)
(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[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.