Lore archive · Warcraft Wiki, 2023 dump
API CombatTextSetActiveUnit
Last wiki revision 2022-08-03
Changes the entity for which events fire. CombatTextSetActiveUnit(unit)
- unit: : UnitId - The the entity you want to receive notifications for.
- The event is tied to the entity rather than the unit -- thus, if you call CombatTextSetActiveUnit("target") and then target something else, you'll get notifications for the unit you were targeting when calling the function, rather than your new target.
- Only one unit can be "active" at a time.
- The event is used in to provide part of Blizzard's Floating Combat Text functionality; it fires to notify of aura gains/losses and incoming damage and heals.
Source
https://warcraft.wiki.gg/wiki/API_CombatTextSetActiveUnit · 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.