Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: allied player orders to several locations
allied player orders to several locations
This topic is locked. You can no longer write replies here.
Jan 7 2009, 6:35 pm
By: okeee  

Jan 7 2009, 6:35 pm okeee Post #1



there is an allied computer player with campaign area town AI. I have set some of the units of that player to order: move to location. but the unit must go to several locations.

I used move location to follow the unit. That works ok. but the problem is, the unit has to move to several places. So from location A to location B to location C. and as soon as the unit moves at location B, I can't send the unit to location C anymore, because of the move location trigger that follows the unit. Is there a remove location option or anything?

trigger i used:

from location A to location B:

if player moves unit to location A
then issue order to unit at location A move to location B
center location A on unit at anywhere
preserve trigger

from location B to location C:

if player moves unit to location B
then issue order to unit at location B move to location C
center location B on unit at anywhere
preserve trigger




None.

Jan 7 2009, 6:56 pm NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Easiest done with a death counter:
3 locations A (start), B and C mark the waypoints, 1 location 'F' follows the units in question for reorder.
Yellow parts not needed if you don't want to loop the patrol route

C: Death counter 'Patrol' is exactly 0
A: Order units at F to B
preserve

C: Death counter 'Patrol' is exactly 1
A: Order units at F to C
preserve

C: Death counter 'Patrol' i exactly 2
A: Order units at F to A
preserve
(skip this trigger if you don't loop the patrol route)


C: Player brings at least 1 men to A
A: set death counter 'Patrol' to 0
preserve
(skip this trigger if you don't loop the patrol route)


C: Player brings at least 1 men to B
A: set death counter 'Patrol' to 1
preserve (only needed if you loop the patrol route)

C: Player brings at least 1 men to C
A: set death counter 'Patrol' to 2
preserve
(skip this trigger if you don't loop the patrol route)





Jan 8 2009, 1:02 am Falkoner Post #3



Why do you need to have the location follow him? Does the AI take control if you don't?



None.

Jan 8 2009, 3:21 am NudeRaider Post #4

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Falkoner
Why do you need to have the location follow him? Does the AI take control if you don't?
exactly




Jan 9 2009, 6:56 pm okeee Post #5



it seems that ordering an computer player is actually possible, the unit was ordered by another trigger. you even do not need to use 'move location' , just order. there are so many triggers in this map..



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-29. : 2:00 am]
l)ark_ssj9kevin -- hi jamal
[2026-4-29. : 12:18 am]
Heinermann -- memes
[2026-4-28. : 10:08 pm]
NudeRaider -- skeet-skeet, motherfucker
[2026-4-28. : 4:24 pm]
Vrael -- NudeRaider
NudeRaider shouted: Vrael boy, if you're not careful I'll moderate your sorry ass too!
gotta catch me first! skeet skeet skeet
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
Please log in to shout.


Members Online: Vrael