Staredit Network > Forums > SC2 Assistance > Topic: Spawn units when another enters a region?
Spawn units when another enters a region?
Feb 18 2013, 8:07 pm
By: sharf  

Feb 19 2013, 2:41 pm sharf Post #21



Thanks a ton devlin, I'm just trying a bunch of different stuff right now to try and get the hang of triggers more. I know I'll need some more help soon, so I'll post then :P.

I've solved two of my problems using some creative (I think) use of unit groups. I have 1 unit group for enemies that are spawned on the pads, and 1 unit group for all the players' units. Then using the closest unit to center condition you did, I check to see if there are no units from the enemy group, and that there is at least 1 from the players group, and then spawn the enemies (which add the units to the group, instead of setting the variable). Multiple pads for all players to use with all their units and only 2 unit groups.

Post has been edited 1 time(s), last time on Feb 19 2013, 2:51 pm by sharf.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:37 am]
Ultraviolet -- 80% of statistics are made up on the spot
[08:05 pm]
Symmetry -- 50% of strings in starcraft are references
[2026-6-07. : 1:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
Please log in to shout.


Members Online: RIVE, AnthonyRichards