| |
Is there a way to register an AddOn for ALL events? I mean even events that you don't know the name for?
Basically, I want a debugging AddOn, which will output the name of any event that occurs to a chat window, so I can see what is going on.
Basically, something happened with this patch, which causes a lag between PLAYER_CONTROL_LOST firing and UnitOnTaxi("player") being set.
If you want to check if the PLAYER_CONTROL_LOST event is caused by getting on a taxi, it no longer works, because UnitOnTaxi("player") returns nil for up to half a second after PLAYER_CONTROL_LOST event fires.
I wanted to see if some other event goes off at the same time, like maybe some new undocumented PLAYER_BOARDED_TAXI.
Slouken,
Would it be possible to give us an event like that, if it doesn't exist? There is already an event that fires when the player opens the taxi window, and another for when the player closes the taxi window. Could you give us an event for when the player actually begins a gryphon ride? Ideally, this event would fire before PLAYER_CONTROL_LOST.
I have an AddOn, which just gives a warning ding whenever my character loses control. I don't want it to fire when I board a gryphon, but the method I used to use no longer works. As it is now, I had to make a workaround fix, which I'm not happy with. It basically compares the time between the TAXIMAP_CLOSED event and the PLAYER_CONTROL_LOST event, to try to guess if it was a gryphon ride that caused control to be lost.
I don't like this, because it is possible to get feared while you're looking at the taximap window.
www.aquafina.com
|