So I'm thinking that binding events to abilities being used or a certain unit being ordered to stop or hold position (left and right), would cause less delay than using a key event directly. Is this true? Has anyone done any experiments? Of course, it is more limited because you always have to be selecting that unit.
Also, are mouse events faster than keyboard events?
It worked in WarCraft III, pretty well, and the lag was noticeable with arrow keys but it's not as bad as SC2 is, currently. I hope Blizzard fixes this anyway.
So I'm thinking that binding events to abilities being used or a certain unit being ordered to stop or hold position (left and right), would cause less delay than using a key event directly. Is this true? Has anyone done any experiments? Of course, it is more limited because you always have to be selecting that unit.
Keep in mind you don't only need a unit selected, but you also can't track a Key Up event and thus you can't keep track of how long the key is being pressed. The user would have to press that same button over and over to keep moving forward.
I don't have any experiements done on speed though.
You would experience the exact same latency issues using ability commands as you would using key listen events. The only advantage I expect would be less network overhead, however a well structured key listen system should not generate that much overhead anyway.
Actually instead of listening to key up, you should check if there's a behaviour on your unit.
And how do you want to know for how long the player presses a button? A skill is started in the moment the button is pressed down, the behavior will time out eventually, even if you keep it pressed till christmas eve.
Holding down the hotkey for the ability spammed the ability? So does this mean we can use hotkey dummy ability events to control the movement?
Can you tell us what ability you used that worked?
So I'm thinking that binding events to abilities being used or a certain unit being ordered to stop or hold position (left and right), would cause less delay than using a key event directly. Is this true? Has anyone done any experiments? Of course, it is more limited because you always have to be selecting that unit.
Also, are mouse events faster than keyboard events?
It worked in WarCraft III, pretty well, and the lag was noticeable with arrow keys but it's not as bad as SC2 is, currently. I hope Blizzard fixes this anyway.
Keep in mind you don't only need a unit selected, but you also can't track a Key Up event and thus you can't keep track of how long the key is being pressed. The user would have to press that same button over and over to keep moving forward.
I don't have any experiements done on speed though.
No. They're pretty much the same speed.
Actually instead of listening to key up, you should check if there's a behaviour on your unit.
You would experience the exact same latency issues using ability commands as you would using key listen events. The only advantage I expect would be less network overhead, however a well structured key listen system should not generate that much overhead anyway.
I don't remember it taking a second for psi storm to go off after you use it on ladder.
If blizz wont fix this lots of maps will fail, and there will be only few good maps coz map ideas will be very, very limited.
Wc3 will still be better than in this area.
And how do you want to know for how long the player presses a button? A skill is started in the moment the button is pressed down, the behavior will time out eventually, even if you keep it pressed till christmas eve.
When I tried this, holding down a key spammed the ability. :(
Holding down the hotkey for the ability spammed the ability? So does this mean we can use hotkey dummy ability events to control the movement? Can you tell us what ability you used that worked?
http://forums.sc2mapster.com/development/map-development/6622-4-way-key-pressed-movement-multiplayer-solved/#p5