Hi all! New here and I'm just starting to dive into the editor. I'm currently working on a map where I want the number of units spawned in a region to be based on the active players in-game. So for example if there are 4 active players still in-game, then spawn 15 units, but if active number of players in-game is 3 then only spawn 10 units. Is there any way for me to do this? Any help appreciated thanks.
2: You can count the number of active players by assigning the number of players in the player group "active players" to a variable. Then you use an if then statement later and see how many players there are...Do you need specifics on how to do that or were you looking for the general idea? Send me a PM if you need some more info. NOTE: cpu players are considered "active" so if you have cpu players, they will add to your player count.
3- I dont think this goes in the trigger libraries forum, it goes in the "triggers" forum under "map development"..No big deal, just letting you know. :)
1: Welcome to sc2 mapster!
2: You can count the number of active players by assigning the number of players in the player group "active players" to a variable. Then you use an if then statement later and see how many players there are...Do you need specifics on how to do that or were you looking for the general idea? Send me a PM if you need some more info. NOTE: cpu players are considered "active" so if you have cpu players, they will add to your player count.
Dosn't sound too hard. I'll give it a try. Thanks and sorry, bout posting in the wrong area.
Hi all! New here and I'm just starting to dive into the editor. I'm currently working on a map where I want the number of units spawned in a region to be based on the active players in-game. So for example if there are 4 active players still in-game, then spawn 15 units, but if active number of players in-game is 3 then only spawn 10 units. Is there any way for me to do this? Any help appreciated thanks.
@zeldarules28: Go
Dosn't sound too hard. I'll give it a try. Thanks and sorry, bout posting in the wrong area.