WoW API: GetPossessInfo
Returns information about a spell on the Possess Bar.
texture, name, enabled = GetPossessInfo(index)
ParametersEdit
ArgumentsEdit
- (index)
- index
- Number - The slot of the possess bar to check.
ReturnsEdit
- 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.)
DetailsEdit
- The Possess Bar is shown by the default UI when the player is controlling another target, such as while channeling Mind Control.