Originally Posted by Shinni
You can just ZO_PreHook ActionButtonDown to block an ability from being cast. That way you can change the block state even infight without changing keybinds.
ZO_PreHook("ActionButtonDown", function(slot) return slot == blockedSlot end)
edit: apparently abilities are cast on button release, not press. So hook ActionButtonUp instead.
|
Wouldn't that cause 'attempt to use a private function' errors?