Log in

View Full Version : Hotkeys and custom targetting



Arek
09-12-2012, 09:57 AM
Well I'd like to suggest to enable us to do something like this:

registerEventListener("USER_HOTKEY", "onHotkeyUse")
function onHotkeyUse(hkey)
if (hkey == "f5") then
---- do something
end
end

and to make it possible in the targetting window, instead of just being able to choose between rune and spell to be able to specify a function which is called with the creature id as argument.

soul4soul
09-12-2012, 12:50 PM
Bind Hotkeys:
I'll probably add a onKeyDown event to the scripter. That along with custom HUD should work great.
short