Wowpedia
Advertisement
Wowpedia
240,511
pages
Game Flavors
Links
Patch
Added in 2.3.0 / 1.13.2

Returns information about a spell on the possession bar.

texture, spellID, enabled = GetPossessInfo(index)

Arguments

index 
number - The slot of the possess bar to check, ascending from 1.

Returns

texture 
string - The icon texture used for this slot, nil if the slot is empty
spellID 
number - The name of the action in this slot, nil if the slot is empty.
enabled 
boolean - true if there is an action in this slot, nil otherwise.

Details

  • The possession bar is shown by the default UI (like a stance bar) while the player is controlling another target, such as while channeling [Mind Control].
  • Typically, the first slot contains the spell used to control the other unit (which does nothing), while the second slot has a "Cancel" action that ends the effect.

Patch changes

  • Battle for Azeroth Patch 8.0.1 / API (2018-07-17): The second parameter was changed from spell name to spell ID. [1]

See also

  • IsPossessBarVisible
Advertisement