View Single Post
03-28-21, 05:50 PM   #7
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,928
If you want to catch changes to combat mode to apply settings before combat then I would use PLAYER_REGEN_DISABLED and then reverse it out on PLAYER_REGEN_ENABLED.

I use these to stop interactions during combat that players may be tempted to do or to minimise/hide non combat windows during combat. PLAYER_REGEN_DISABLED may trigger after UNIT_ENTERING_VEHICLE or before. Similarly PLAYER_REGEN_ENABLED may trigger before UNIT_EXITING_VEHICLE or after.

Not too much helpful but they may be events you hadn't considered before.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote