COMPANION_UPDATE

From Warcraft Wiki
Jump to navigation Jump to search

Fired when companion info updates.

COMPANION_UPDATE: companionType

Payload

companionType
string?

Details

  • If the type is nil, the UI should update if it's visible, regardless of which type it's managing. If the type is non-nil, then it will be either "CRITTER" or "MOUNT" and that signifies that the active companion has changed and the UI should update if it's currently showing that type.
  • "Range" appears to be at least 40 yards. If you are in a major city, expect this event to fire constantly.

This event fires when any of the following conditions occur:

  • You, or anyone within range, summons or dismisses a critter
  • You, or anyone within range, mounts or dismounts
  • Someone enters range with a critter summoned
  • Someone enters range while mounted

Patch changes

Wrath-Logo-Small.png Patch 3.0.3 (2008-11-04): Added.