Keyboard Moving

MysticX

Member!
Joined
Jan 31, 2004
Messages
34
Reaction score
0
Location
New Jersey
Website
Visit site
Alright, this is what I want... I want to be able to move my hero by using keys on the keyboard. I think I saw a post where someone said they set it to W,S,A,D. If this is possible please explain it a little to me :D. (also if you know you can set it to W,S,A,D)

One other thing... Would it be possible to make a unit do an ability so that he can block an attack without recieving damage...?

Im a bit of a newbie :p But I know triggers pretty good.
 

SephirothX89

Member!
Joined
May 19, 2003
Messages
1,074
Reaction score
0
Location
Azeroth
Website
Visit site
for the moving i kno theres an event option that a player hits a button on the keyboard. dont know how to do it tho :p

for withut recieving dmg, maybe do this...

EVENTS - A unit begins casting an ability

CONDITIONS - Ability being cast equal to "your ability"

ACTIONS - Make (triggering unit) invunrable
Wait 20 seconds (or whatever u want)
Make (triggering unit) venurable
 

MysticX

Member!
Joined
Jan 31, 2004
Messages
34
Reaction score
0
Location
New Jersey
Website
Visit site
:D Thanks for your help Sephiroth. I never even thought of creating a trigger to make the unit "block."

Is there anybody that knows about making a unit walk when you press a key though?


ANNNNNYYYYYYYYYYONNNEEEE?!?!??!??!

lol
 

SephirothX89

Member!
Joined
May 19, 2003
Messages
1,074
Reaction score
0
Location
Azeroth
Website
Visit site
i think i kno how this would be done, ill try to figure it out if u want, but that dosent mean i can :)
 

SephirothX89

Member!
Joined
May 19, 2003
Messages
1,074
Reaction score
0
Location
Azeroth
Website
Visit site
ALRIGHT I FUGRED IT OUT :)

EVENTS - Player - Player 1 presses "choose arrow" key

ACTIONS - Unit - Order (Picked Unit) To Move To ((Position of (Picked Unit)) Offset by (X,Y)

The offset is where u want the unit to move, think of it as the units range coorodinate plane. Ex. 500,500 is 500 range right and 500 range up whitch would be diagnol. Ex2. 0,-500 wound be 500m range back. :)

Btw, i havent tested this so i might not work :(
 

MysticX

Member!
Joined
Jan 31, 2004
Messages
34
Reaction score
0
Location
New Jersey
Website
Visit site
Wow man, thanks alot :D
It's late right now... so i'll try it tommorow, but thanks alot for the help :D :D

Heh it sounds right
Thank you!
 

SephirothX89

Member!
Joined
May 19, 2003
Messages
1,074
Reaction score
0
Location
Azeroth
Website
Visit site
always happy to help. if i dosent work try something like selected unit instead of picked unit.
 

NewPosts

New threads

Top