Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Civilian Give System
Civilian Give System
This topic is locked. You can no longer write replies here.
Jan 19 2009, 12:35 am
By: Excalibur  

Jan 19 2009, 12:35 am Excalibur Post #1

The sword and the faith

No one bothers to read through my other help topic so here's what I need:

I need a trigger system that cycles civilians between players P10 and P11 and if P1-6 is near the civ, it gives it to them, using less than 5 locations for 30+ civs.




SEN Global Moderator and Resident Zealot
-------------------------
The sword and the faith.

:ex:
Sector 12
My stream, live PC building and tech discussion.

Jan 19 2009, 12:46 am Biophysicist Post #2



Center location on P10 civ. Check if each of players 1-6 has a unit in the location and give it if they do. Then give the civ to P11 and repeat. Once all the civs are owned by P11, give them all to P10.

Trigger One:
Executes for: Some computer player
Conditions:
Always
Actions:
Center location "TZFTW" on Terran Civilian owned by Player 10 at <some location>
Preserve Trigger

Trigger Two:
Executes for: Same computer player.
Conditions:
Player One brings at least one <whatever> to "TZFTW"
Actions:
Give one Terran Civilian owned by Player 10 at "TZFTW" to Player 1.
Set "Switch One".
Preserve Trigger.

<copies of the above for P2, P3, P4, P5, and P6>

Trigger Eight:
Executes for: Same computer player
Conditions:
"Switch One" is Cleared.
Actions:
Give one Terran Civilian owned by Player 10 at "TZFTW" to Player 11.
Preserve Trigger

Trigger Nine:
Executes for: Same computer player
Conditions:
Always
Actions:
Clear "Switch One".
Preserve Trigger.

Trigger Ten:
Executes for: Same computer player
Conditions:
Player 10 commands exactly 0 Terran Civilian.
Actions:
Give all Terran Civilian owned by Player 11 at "Anywhere" to Player 10.
Preserve Trigger.



None.

Jan 19 2009, 1:00 am Excalibur Post #3

The sword and the faith

It works! Thanks TZ, RE:RC will be produced sooner thanks to your help.




SEN Global Moderator and Resident Zealot
-------------------------
The sword and the faith.

:ex:
Sector 12
My stream, live PC building and tech discussion.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: jjf28