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.
[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.
[2026-7-16. : 6:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[2026-7-16. : 6:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[2026-7-16. : 2: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
[2026-7-16. : 2:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[2026-7-15. : 8: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.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
Please log in to shout.


Members Online: Moose, Symmetry