hey all im new here and kinda new to map making! I understand programming though as i took a class in school this year so most of it is fresh in my mind. Ive looked around the site but i can't seem to quickly find a trigger that would totally solve my problem. Im creating a map that needs the beginning to spawn a builder unit (im using a drone that moves very fast) i still need to make it invisible to enemies but now the problem is this.
I need a trigger for at the beginning of the game each player has a drone( called "builder") spawned for them
From the terrain editor, click on the Map option along the top bar, then go to Player Properties. For each player you want to be human, set the control to User. This will add slots in the lobby of the game so more people can join.
"Pick each player in All Players and do..." is a loop that goes through each player in a player group, in this case the group is "All Players," which is every player in the game including neutrals and computers. You can add an if/then/else branch in there to check if the player is a User before executing your actions.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
hey all im new here and kinda new to map making! I understand programming though as i took a class in school this year so most of it is fresh in my mind. Ive looked around the site but i can't seem to quickly find a trigger that would totally solve my problem. Im creating a map that needs the beginning to spawn a builder unit (im using a drone that moves very fast) i still need to make it invisible to enemies but now the problem is this. I need a trigger for at the beginning of the game each player has a drone( called "builder") spawned for them
Pick each player in All Players and do > Create 1 builder for picked player at (point)
i have the point working but now im not sure if its creating a builder for everyy player, how do i add other more players to the game?
From the terrain editor, click on the Map option along the top bar, then go to Player Properties. For each player you want to be human, set the control to User. This will add slots in the lobby of the game so more people can join.
"Pick each player in All Players and do..." is a loop that goes through each player in a player group, in this case the group is "All Players," which is every player in the game including neutrals and computers. You can add an if/then/else branch in there to check if the player is a User before executing your actions.