Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API C LossOfControl.GetEventInfo

Last wiki revision 2022-08-01

Returns information about a loss-of-control event. locType, spellID, text, iconTexture, startTime, timeRemaining, duration, lockoutSchool, priority, displayType = C_LossOfControl.GetEventInfo(eventIndex)

  • eventIndex: - index of the loss-of-control effect currently affecting your character to return information about, ascending from 1.
  • locType: - Effect type, e.g. "SCHOOL_INTERRUPT"
  • spellID: - Spell ID causing the effect, e.g. 33786 for Cyclone.
  • text: - Name of the effect, e.g. "Interrupted".
  • iconTexture: - Effect icon texture.
  • startTime: - Time at which this effect began, as per
  • timeRemaining: - Number of seconds remaining.
  • duration: - Duration of the effect, in seconds.
  • lockoutSchool: - Locked out spell school identifier; can be used as index into the global to retrieve school name.
  • priority: - ?
  • displayType: - An integer specifying how this event should be displayed to the player, per the Interface-configured options:
  • 0: the effect should not be displayed.
  • 1: the effect should be displayed as a brief alert when it occurs.
  • 2: the effect should be displayed for its full duration.

Source

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