WoW:Events/Companion

From AddOn Studio
Jump to navigation Jump to search

Event API


"I" iconNote that this page is automatically generated; editing it is pointless. To edit event descriptions, edit the entries in the alphabetical pages, e.g. Events/A, Events/B, etc. Changes there will be copied over to here within a few hours.


Companion related events

"COMPANION_LEARNED"
Category: Companion
 

<Added in Patch 3.0 (WotLK)>


"COMPANION_UNLEARNED"
Category: Companion
 



"COMPANION_UPDATE"
Category: Companion
 

<Added in Patch 3.0 (WotLK)>

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.

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

"Range" appears to be at least 40 yards. If you are in a major city, expect this event to fire constantly.