Staredit Network

Staredit Network -> UMS Assistance -> Help making units patrol
Report, edit, etc...Posted by mianmian on 2005-02-03 at 12:24:08
Ok well I'm making a map, but i seem to have a problem. I want it so that when some units spawn they start to patrol to a area. I can get them to spawn but i cant seem to get them to patrol.

Help please

Thanks for your time
Report, edit, etc...Posted by AqoTrooper on 2005-02-03 at 12:26:03
You use the 'order' action and tell your units to patrol.
Just create a location where you want them to patrol to, and than:

Player:
whatever

Condition:
whenever you want it to happen

Action:
Issue order to all 'your unit' in location 'where they spawn' patrol to 'where you want it to patrol to'
Report, edit, etc...Posted by chuiu on 2005-02-03 at 12:27:59
Do it in the spawn trigger after they are created too, to make things simpler.
Report, edit, etc...Posted by mianmian on 2005-02-03 at 12:34:44
Well there seems to be a problem, Thats exactly what i did. Except that its a seperate trigger cause I'm dumb, but thats changed now
Report, edit, etc...Posted by cop29 on 2005-02-03 at 19:02:21
or another way.
u have a spawn location, also create a new location in the spot u want the unit to patrol to. use the command to move the units from their spawn location to the new location u just made, then make another trigger that wen the units get to the new location, have the trigger send them back to the spawn location, this will create a continuous loop and will make the units patrol.

not the best way, but a way
Report, edit, etc...Posted by CeR on 2005-02-04 at 04:59:44
No, I don't think so. The sistem of AqoTrooper I think that is better.
Report, edit, etc...Posted by AqoTrooper on 2005-02-04 at 06:05:41
QUOTE(cop29 @ Feb 4 2005, 03:02 AM)
or another way.
u have a spawn location, also create a new location in the spot u want the unit to patrol to. use the command to move the units from their spawn location to the new location u just made, then make another trigger that wen the units get to the new location, have the trigger send them back to the spawn location, this will create a continuous loop and will make the units patrol.

not the best way, but a way
[right][snapback]137990[/snapback][/right]

Other than the fact it takes more triggers to do it than the original patrol, it has another problem - the units will ignore any enemy units on their way, unlike when you order them to patrol.
Next Page (1)