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!

PET_BAR_UPDATE

From Wowpedia
Jump to: navigation, search

Fired whenever the pet bar is updated and its GUI needs to be re-rendered/refreshed.

PET_BAR_UPDATE

Payload

None

Details

Examples of actions which trigger this event:

  1. Losing your pet (causes the pet bar to vanish).
  2. Gaining a pet (causes the pet bar to appear).
  3. Triggering the pet "aggressive/defensive/passive" state (whether via the button or via commands like "/petdefensive"). Triggers even if the new state is the same as last time (ie. by re-triggering the same button multiple times in a row).
  4. Triggering the pet "follow" or "stay" commands (but not the "attack" command since unlike the others, its button never gets highlighted on the bar while the pet is attacking). Just like the aggressiveness state, this also reacts via commands like "/petstay", and will likewise react to repeated re-triggering (through any method).
  5. Toggling pet skill "autocast" state, regardless of whether you do it via the spellbook, or right-clicking on the bar icon itself, or using commands like "/petautocasttoggle Growl".
  6. Moving icons on the pet skill bar, such as by dragging icons from the pet spellbook onto the pet bar. (This is not your regular player action bar, which of course can't even contain pet spells even if you attempt to drag them there manually.)

See also