Event to detect a skill on your bar changing?
Is there an event that allows you to detect if a player slots / replaces an ability with a new one on their bar? Looking at the wiki, EVENT_ACTION_SLOT_ABILITY_SLOTTED seemed like the most straightforward event but that was removed in 10028. I've tried EVENT_ACTION_SLOT_UPDATED and EVENT_ACTION_SLOT_STATE_UPDATED but the first never fires when I change an ability and the later gets called for every actionSlotIndex if I replace an ability or bar swap. EVENT_HOTBAR_SLOT_CHANGE_REQUESTED also looked promising but I couldn't figure out what triggers it (swapping abilities clearly doesn't). Is there anything I'm missing or is this behavior not possible?
|