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.
[06:40 am]
Oh_Man -- true
[03:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[01:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[01:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
[01:39 am]
Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
[01:39 am]
Oh_Man -- i appreciate SCBW's ability to just let us upload and play WAVs so much compared to nightmare that is total war warhammer 3
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
Please log in to shout.


Members Online: MarineElite