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.
[04:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[11:30 am]
NudeRaider -- I would like 3000 minerals, please
[07:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
Please log in to shout.


Members Online: JohnnyTheWolf