Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GameTooltip SetUnitConsolidatedBuff

Last wiki revision 2021-01-15

Shows a tooltip for the spell currently providing the specified consolidated buff type. Displays the tooltip of the spell providing a consolidated buff effect. GameTooltip:SetUnitConsolidatedBuff("unit", buffIndex)

  • unit : String - unit to query.
  • buffIndex : Number - index of the consolidated buff slot to show the tooltip for.
  • If the specified unit has a buff of the specified category, the tooltip will display the spell currently providing that buff, e.g. Mark of the Wild for the Stats category.
  • If the unit does not have the specified type of buff, nothing is added to the tooltip.
  • This method only works for units under the player's control.
  • As with all other tooltip SetX methods, you must first set the tooltip's owner using.

Source

https://warcraft.wiki.gg/wiki/API_GameTooltip_SetUnitConsolidatedBuff · 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.