[Trigger] Need help to repair broken system

Status
Not open for further replies.
If you have upgraded to 1.29, would not those work for you:
JASS:
    function TriggerRegisterPlayerKeyboardEvent takes trigger whichTrigger, player whichPlayer, keyboardbutton hotkey, boolean state returns event
       //Fires when the corresponding key is pressed by the player. The keyboardbutton constants are not mentioned but should cover most common keyboard buttons. If state is true then fires when key is pressed, otherwise fires when key is released. Attaching this event causes keyboard button sync traffic from the player.
    function GetTriggerKeyboardButton takes nothing returns keyboardbutton
        //In response to player keyboard event returns which button caused the event.
    function GetTriggerKeyboardState takes nothing returns boolean
       //In response to player keyboard event returns the state that caused the event. True if it was pressed, false if released.
    function GetLocalKeyboardButtonState takes keyboardbutton whichButton returns boolean
       //Returns true if the local client has the specified keyboard button (eg arrow keys) depressed or false if released. Not net safe.
Taken from: Producer Update: Natives List

I'd guess there are GUI counterparts if you require them? Probably? Maybe ? Should be, could be, would be?
Also, for some systems/software NumPad is not a part of the keyboard, no idea if this is the case here... :|

Edit// Oh, is this for number keys, not NumPad ?? If that is the case, then there should not be aproblem... I'd guess...


Hope this helps!
-Ned
 
Status
Not open for further replies.
Back
Top