Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

COMPANION_UPDATE

From Wowpedia
Jump to: navigation, search

Fired when companion info updates.

COMPANION_UPDATE: "companionType"

Payload

companionType 
string (nilable)

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 history

Wrath of the Lich King Patch 3.0.3 (2008-11-04): Added.

See also