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.
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[2024-4-18. : 10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
[2024-4-18. : 10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
Please log in to shout.


Members Online: Ultraviolet, RIVE