[Arrow Keys]: What about for holding?

Dregonx

TH.net Regular
Reaction score
21
It says presses and releases the arrow keys on events, just wondering if it's possible to hold down the key as well, using Jass.

And if so, how?
 

Waaaaagh

I lost all my rep and my title being a jerk
Reaction score
70
Code:
on key press
    set pressed=true
    wait X time
    if pressed then
        <hold event>

on key release
    set pressed=false
 

Dirac

22710180
Reaction score
147
dont know how to use jass, but via gui just create the event "a player presses an arrow key" for turning on and "a player turns off arrow key" to turn off
 

YourFace

<span style="color:#9C9C9C;"><strong>Runner Up - T
Reaction score
91
dont know how to use jass, but via gui just create the event "a player presses an arrow key" for turning on and "a player turns off arrow key" to turn off

that may work, however how many triggers would someone want to make when they have access to jass?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top