Obviously that isn't what the Condition is called, but that's what I want it to check for. I'm trying to adjust difficulty in game by number of players. How would I do this? I am not familiar with Galaxy editor yet as I am still new to Starcraft 2. I used to use mapforge for BW and it was not that difficult to do in that.
Conditions -> And -> Status of Player.
Also, if you don't want conditions but rather Player Groups, use Player Leaves event to add/remove players from a group, whether it be Left or Playing.
Also I think this belongs in the Trigger section. Galaxy Scripting is the JASS equivalent of Warcraft III's World Editor... or in other words, a non-GUI programming language.
Triggers not working properly? Get a check up from Dr. Debug!
For each player from 1-14, check if they are human and if they are active. You can also check if a player is in a team. This is a boolean/test function (you put it into a condition). To make your life easier in testing and in the rest of the game: I suggest you add the players to player groups: like team1Group, team2Group and so on. Then counting team score and doing adjustments for colors is very easy :)
You must login to post a comment. Don't have an account? Register to get one!