Hi, I am working on a new game called speedboats. My goal is for the players to be able to move their boats with arrow keys unlike the normal warcraft mouse click movement. I have figured out how to use arrow key triggers so that the hero does move and the camera stays with the hero.
> My problem is that the trigger only functions when the player presses the key, but not when the player holds the key down. This means that the player has to spam a key in order for their boat to move fast...
... I have tried something like every 0.3 seconds of game time "check if player has keyboard button pressed" but i cant find any kind of condition that looks like that.
If anyone knows how to do this in JASS or any method please post your reply.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
Check out the new amazing AOS - War of the Ages > http://www.thehelper.net/forums/showthread.php?t=124815
> My problem is that the trigger only functions when the player presses the key, but not when the player holds the key down. This means that the player has to spam a key in order for their boat to move fast...
... I have tried something like every 0.3 seconds of game time "check if player has keyboard button pressed" but i cant find any kind of condition that looks like that.
If anyone knows how to do this in JASS or any method please post your reply.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
Check out the new amazing AOS - War of the Ages > http://www.thehelper.net/forums/showthread.php?t=124815