Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API Frame RegisterUnitEvent

Last wiki revision 2023-08-20

Registers the frame for a specific event, triggering only for the specified units. registered = Frame:RegisterUnitEvent(eventName [, unit1, ...])

  • eventName: - Name of the frame event.
  • unit1, ...: : UnitId - A list of units (up to four units).
  • registered:
  • Repeated calls will overwrite old registrations. Calling will also overwrite the old registration.
  • If no unit is given, then all units will be watched; which is virtually the same as calling.

Source

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