WoW:API GetPossessInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(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. ...)
 
m (Move page script moved page API GetPossessInfo to API GetPossessInfo without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

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.