HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Arrow Keys

09-02-2004, 08:52 PM#1
c0rdawg21
Ok I'm making a map where the camera is right up behind your hero so you basicly see what the hero sees. I made a few triggers to turn your hero when you press left or right but I can't figure out how to make the hero move forward in the direction that it is facing. Please help me.
09-02-2004, 10:11 PM#2
AFB-DieHard
Unit - Order UNIT to Move To ((Position of UNIT) offset by some integer value towards (Facing of UNIT) degrees)

I hope this helps
09-02-2004, 10:54 PM#3
c0rdawg21
Quote:
Originally Posted by AFB-DieHard
Unit - Order UNIT to Move To ((Position of UNIT) offset by some integer value towards (Facing of UNIT) degrees)

I hope this helps
I dont really understand what you mean...
09-03-2004, 03:10 AM#4
cheese_doodle
its a trigger. . . . like this
Event
-player 1 presses the (up) arrow key
Action
-unit-order (what ever unit you want to move) to move to position of (the unit) with offset (however far you want him to move) torwards (facing angle of the unit)

get it?
:(
09-03-2004, 04:59 AM#5
c0rdawg21
I got it to work, thanks for your help guys.