HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need help with Triggers.

04-06-2004, 04:56 PM#1
AFZ
How do you order a unit to walk to the direction it is facing, and keep walking until the stop order is given ?

Please help me. :8
04-06-2004, 05:35 PM#2
AoH
use this action:

Unit - Order YourUnit to move to possition of YourUnit offset by 9999999(and so on) towards facing of YourUnit degrees.

or these triggers:
(trigger 1)
events - every 0.1 second
conditions -
actions - Order YourUnit to move to possition of YourUnit offset by 100 towards facing of YourUnit degrees.
________________________________--
(trigger 2)
evcents - Unit - YourUnit is issued an order with no target
conditions - issued order eqeal to ortder(stop)
actions - trigger - turn off trigger 1


don´t really know wich is best..
04-07-2004, 03:11 PM#3
AFZ
Quote:
Originally Posted by AoH
use this action:

Unit - Order YourUnit to move to possition of YourUnit offset by 9999999(and so
on) towards facing of YourUnit degrees.

Hey Thanks a lot!

I Didn't know that I couuld order the unit to move towards its facing angle, so
I was messing up with points with offset, but I configured the movement only at
0, 45, 90, 135, 180, 225, 270 and 315 Degrees.

I'll try all those actions
04-08-2004, 07:18 AM#4
AoH
Quote:
Originally Posted by AFZ
Hey Thanks a lot!

I Didn't know that I couuld order the unit to move towards its facing angle, so
I was messing up with points with offset, but I configured the movement only at
0, 45, 90, 135, 180, 225, 270 and 315 Degrees.

I'll try all those actions


If you want it to be like a player that orders a unit and it walks and walks then add this trigger to the lower triggers
(trigger 3)
events - a unit is issued an order whitout target
conditions - issued order eqeal to order(move)
actions - turn on trigger 1

it doesn´t look exactly so but I think you see what I mean


and what kind of map are you doing?
04-27-2004, 03:00 PM#5
AFZ
Worked! Thanks!