Thread Tools Display Modes
08-02-18, 03:11 AM   #1
yess
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: May 2008
Posts: 29
Detecting the start of a boss fight?

How can I execute code when the player has engaged a boss?

I usually use the PLAYER_REGEN_DISABLED / ENABLED events to execute code based on combat status.
Do I need to look into COMBAT_LOG_EVENT_UNFILTERED for this?
  Reply With Quote
08-02-18, 03:36 AM   #2
AcidWeb
A Theradrim Guardian
 
AcidWeb's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 68
Lua Code:
  1. ENCOUNTER_START / ENCOUNTER_END
  Reply With Quote
08-02-18, 03:49 AM   #3
yess
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: May 2008
Posts: 29
Originally Posted by AcidWeb View Post
Lua Code:
  1. ENCOUNTER_START / ENCOUNTER_END
Thanks. Does this also work for wold bosses?
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Detecting the start of a boss fight?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off