Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetPossessInfo

Last wiki revision 2022-08-01

Returns info for an action on the possession bar. texture, spellID, enabled = GetPossessInfo(index)

  • index: - The slot of the possess bar to check, ascending from 1.
  • texture: - The icon texture used for this slot, nil if the slot is empty
  • spellID: - The name of the action in this slot, nil if the slot is empty.
  • enabled: - true if there is an action in this slot, nil otherwise.
  • 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.

Source

https://warcraft.wiki.gg/wiki/API_GetPossessInfo · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.