Hey everyone - I've been pulling my hair out and can't seem to find exacly what I'm looking for. I am creating a map in which players start in the center with just a single worker unit(SCV, Drone, etc...) and 1000 minerals and have to explore out to find a camp and build thier base.
I know how to create units for each of the individual players, but how do I set it up so that it creates a single unit for player x based on that players race?
For example- Player 1 is Terran it creates an SCV or if Player 1 is Zerg it creats a Drone, etc...
Thanks! That worked, I was trying to do it via the triggers module and couldn't figure it out, but once I reset it there and tested the map it worked! I had one unit!
That's good to know for future reference. I built a trigger setup to do that for me as I have a TD map in production where each race gets their own set of towers and wave spawns. I had set it to create the worker for each and send them to a location to start. Then a separate set of triggers to work the waves for each race. Good to know if all I need is the starting unit thing there's a simple way. =)
Create a modal dialog for each player with 3 buttons for your 3 races(workers in your case) and just set up your variables and player groups so that all the player has to do is click a button at the beginning of the game and whichever button they choose is the worker they get. You can set up a trigger function to give starting melee units to player group(whoever you put in the player group, could just be one player) and just edit the starting units under the races tab in the data editor to only one worker.
Hey everyone - I've been pulling my hair out and can't seem to find exacly what I'm looking for. I am creating a map in which players start in the center with just a single worker unit(SCV, Drone, etc...) and 1000 minerals and have to explore out to find a camp and build thier base.
I know how to create units for each of the individual players, but how do I set it up so that it creates a single unit for player x based on that players race?
For example- Player 1 is Terran it creates an SCV or if Player 1 is Zerg it creats a Drone, etc...
Data Editor->Races->bottom chunk of that data editing area, haven't done it myself but noticed this is how maps give you your starting units and base.
@BumpInTheNight: Go
Thanks! That worked, I was trying to do it via the triggers module and couldn't figure it out, but once I reset it there and tested the map it worked! I had one unit!
That's good to know for future reference. I built a trigger setup to do that for me as I have a TD map in production where each race gets their own set of towers and wave spawns. I had set it to create the worker for each and send them to a location to start. Then a separate set of triggers to work the waves for each race. Good to know if all I need is the starting unit thing there's a simple way. =)
You could do what i did for one of my maps:
Create a modal dialog for each player with 3 buttons for your 3 races(workers in your case) and just set up your variables and player groups so that all the player has to do is click a button at the beginning of the game and whichever button they choose is the worker they get. You can set up a trigger function to give starting melee units to player group(whoever you put in the player group, could just be one player) and just edit the starting units under the races tab in the data editor to only one worker.
Or just use melee initialization to create bases and workers and remove 3 workers and the HQ building.