I'm playing around with a marine d right now, and I want to have each player to start with a builder who can make marines and buildings. I've got that done, but is there a way for me to make it so that the units only spawn if they are playing?
Anyways, I have the unit placed in each starting position. How would I make it only appear if they are present? would i need to have the units spawned through a trigger instead of being placed by default?
you can choose to spawn them at a starting position that you've created, or probably a region too, I prefer starting position and use it in my map tho
-edit- here's my code for creating a Marauder at the players starting pos. facing player 11's starting pos.(comp)
Marauder Players is a player group with all active players in it.
Player Group - Pick each player in Marauder Players and do (Actions)
Unit - Create 1 Marauder for player (Picked player) at (Start location of player (Picked player)) facing Start Location 011 (Ignore Placement)
I'm playing around with a marine d right now, and I want to have each player to start with a builder who can make marines and buildings. I've got that done, but is there a way for me to make it so that the units only spawn if they are playing?
Anyways, I have the unit placed in each starting position. How would I make it only appear if they are present? would i need to have the units spawned through a trigger instead of being placed by default?
@takral: Go Yes.
Action: pick each player in player group (active players) and do actions create 1 <unit> for picked player
can't open up the editor to check the exact words for it atm, but I think it's something like that
Alright thanks a bunch but... where would that create them at? is it at a region/point?
@takral: Go
you can choose to spawn them at a starting position that you've created, or probably a region too, I prefer starting position and use it in my map tho
-edit- here's my code for creating a Marauder at the players starting pos. facing player 11's starting pos.(comp) Marauder Players is a player group with all active players in it.
Player Group - Pick each player in Marauder Players and do (Actions)
Unit - Create 1 Marauder for player (Picked player) at (Start location of player (Picked player)) facing Start Location 011 (Ignore Placement)
@Ultris: Go
alright thanks =)
also how would i make them only show up if they're active? sorry if this is answered but that code thing you posted was a little confusing
EDIT: nevermind i'm just dumb, i got it