you have to detect when a unit is given the order "attack" not when the "a" key is pressed
Isn't that the opposite of what this says?I'm trying to make a hero attack when a is pressed
I guess it's doable if he creates a custom ability with the hotkey A then, and detect when that ability is used. Attack will have to be disabled for the unit, though.well... i dont think you can detect when the a key is pressed, only arrows
Elimination Tournament is faaaaaaaaar more difficult to make than you think. You are gonna need some jass to create as efficient shooting system as it has. Probably you will be using GetLocationZ mostly.
Elimination tournament does not just slide it, but it also changes height and even checks terrain height in front of the bullet to check should it remove the bullet(hits ground). At the shooting point, not just the angle matters but the exact spot you click, since the projectile height changes depending whether you clicked on a spot lower than you are, higher than you are or on the same level.
oh i see. No way to do in GUI?