HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Movement questions

11-22-2003, 04:15 AM#1
xein
I wanted to make a unit move following the arrow keys like:

straf to the left and straf to the right when the arrow keys are pressed not that the unit turn by the angle set.

another is to make a flying unit change its flying height when the up or down key are pressed.

I still can't find triggers to implement these.
Will someone please help me.

Thank you.
11-22-2003, 05:51 AM#2
DarkenPride
Event - Player Presses a up arrow, down arrow, left arrow, right arrow, blah blah blah..

Action - Move unit blah blah blah.
Action - Animation - Set height or something blah blah blah :P
11-22-2003, 06:03 AM#3
FerretDruid
I don't think strafing is possible to do without editing the model animations. If you give a unit a turn animation of 0 it simply won't move anywhere except straightforward (assuming giving a unit a turn rate of 0 is even possible, from what I can tell the lowest the editor will allow is .10).
11-22-2003, 08:14 AM#4
xein
Thank you darkenpride....
I already know the event stuff.
I need the actions.

About the strafe thing, I actually wanted the unit to move sideways while the unit is moving forward. ( don't care about the animation.)
11-24-2003, 11:16 PM#5
LegolasArcher
I whipped up this example map for you ;)
12-01-2003, 08:12 AM#6
xein
Thanks!

Now, on to the rest!!