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.
[02:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
[2026-9-25. : 2:22 pm]
Oh_Man -- https://youtu.be/Lfo4C0xzU04
[2026-9-25. : 12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[2026-9-24. : 11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[2026-9-24. : 10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[2026-9-24. : 8:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
Please log in to shout.


Members Online: Moose