WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Detecting the start of a boss fight? (https://www.wowinterface.com/forums/showthread.php?t=56483)

yess 08-02-18 03:11 AM

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?

AcidWeb 08-02-18 03:36 AM

Lua Code:
  1. ENCOUNTER_START / ENCOUNTER_END

yess 08-02-18 03:49 AM

Quote:

Originally Posted by AcidWeb (Post 329248)
Lua Code:
  1. ENCOUNTER_START / ENCOUNTER_END

Thanks. Does this also work for wold bosses?


All times are GMT -6. The time now is 04:24 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI