• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

JASS script > Keyboard controlled hero

Status
Not open for further replies.
Level 3
Joined
Sep 20, 2006
Messages
33
Hello, Can somebody here tell me if its possible to do a jass script or something that is triggered when a key is pressed (like you press "A" and instead of showing attack target cursor, a unit will move backwards with walking animation.

The whole point is to make units move with the W A S D keys and E Q for turning, or maybe the numpad ot something, and another custom key to attack, like X or something.

PS: i dont really know where to add scripts or how do they work (i think you put them in a trigger in text form but really dont know).
 
Level 6
Joined
May 19, 2004
Messages
267
Only way to do this is with abilities which is quite uneffective.

would be something like

- A unit begins casting an ability (or starts an effect)
if ability being cast = E then
make unit turn 10 degrees to the right
 
Status
Not open for further replies.
Top