Quantcast
WoWInterface - View Single Post - Dynamic Cam Custom Situation Question
View Single Post
07-27-20, 07:58 AM   #3
LudiusMaximus
A Cobalt Mageweaver
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 221
Originally Posted by d87 View Post
Instant cast spells only generate UNIT_SPELLCAST_SUCCEEDED.
That's right. The DynamicCam situations are intended for ongoing states, which have enter and exit events and whose condition can be checked. An instant spellcast does not really have a condition to be checked. You would have to check the arguments of the enter event (UNIT_SPELLCAST_SUCCEEDED) to see which spell it was and store it in a variable, such that it can be checked by the situation condition.

I made a feature request but cannot say when I will have time for that...
https://github.com/Mpstark/DynamicCam/issues/27
__________________
~ Be the change you want to see in the world... of warcraft interface! ~
  Reply With Quote