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:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[02:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[08:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[04:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
[2026-7-15. : 2:19 am]
Symmetry -- NudeRaider
NudeRaider shouted: Symmetry I can't tell if it's relevant. You provided literally no context so I was providing an equally generic answer.
Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
[2026-7-14. : 11:43 pm]
Ultraviolet -- let's take each other's clothes off :teach:
[2026-7-14. : 11:03 pm]
Vrael -- :teach:
[2026-7-14. : 11:03 pm]
Vrael -- I mean, my clothes
[2026-7-14. : 11:03 pm]
Vrael -- I will take your clothes off
[2026-7-14. : 7:13 pm]
NudeRaider -- I am gettin' so hot :teach:
Please log in to shout.


Members Online: Symmetry