Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GameTooltip SetTalent

Last wiki revision 2021-08-09

Shows the tooltip for the specified talent. GameTooltip:SetTalent(talentIndex [, isInspect, talentGroup, inspectedUnit, classId])

  • talentIndex : - Index of the talent to display the tooltip of, ascending from 1.
  • isInspect : - If true, respect the classId argument; otherwise, display the player's talent.
  • talentGroup : - Ignored; supply nil.
  • inspectedUnit : - Ignored (UnitId); supply nil.
  • classId : - ClassId the talentIndex belongs to.

Display the player's first talent:

Display the first Monk talent (using classId 10):

Source

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