The addon doesn't always detect the situation of the character
Darkhibaris opened this issue ยท 8 comments
Hm, I cannot reproduce this.
It looks like your are changing into being mounted without the game event "SPELL_UPDATE_USABLE" or "UNIT_AURA" being fired. These are the two events at which DynamicCam checks if the condition for the Mounted situation is fulfilled.
Maybe you could open the event trace window (typing /eventtrace into the console) and check which events get fired when you mount up and when it is not detected by DynamicCam? Thanks
Thank you very much for your investigations!
This looks interesting. In both cases, UNIT_AURA and SPELL_UPDATE_USABLE are fired.
But in the first case (situation not detected) these events come after the PLAYER_MOUNT_DISPLAY_CHANGED event and not before. Maybe the IsMounted() condition is only evaluated to true after the PLAYER_MOUNT_DISPLAY_CHANGED event.
I just tried using PLAYER_MOUNT_DISPLAY_CHANGED as the only event for the "Mounted" situation. And it seems to work just fine. Maybe you want to try this too and check if your problem still persists?
Glad it works now! I will make PLAYER_MOUNT_DISPLAY_CHANGED the default event for the "Mounted" situation in the next release.
If you find other situations that are not recognised, please let me know.