I am working on a survival type starcraft 2 map and need some help on a few issues as well as a few features I am unsure how to do.
For the map, I have waves coming in from different points and regions. Is there any way to create a trigger that would send waves in from random locations?
I have another question in addition to my first one, I have a trigger at the beginning of the map to create a unit for each player. Right now it creates that unit for each person even tho I am the only player. How do I force it to only create that unit for the human players and ignore the trigger if there is no human player for that slot?
Btw about the random waves, just read the tutorials about wave creation and then with a bit of understanding on how to use random numbers inside of triggers I'm sure you'll be able to figure out the random part. Making the waves is much harder then picking a random base to do it in.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I am working on a survival type starcraft 2 map and need some help on a few issues as well as a few features I am unsure how to do.
For the map, I have waves coming in from different points and regions. Is there any way to create a trigger that would send waves in from random locations?
Thanks in advance for your help.
I have another question in addition to my first one, I have a trigger at the beginning of the map to create a unit for each player. Right now it creates that unit for each person even tho I am the only player. How do I force it to only create that unit for the human players and ignore the trigger if there is no human player for that slot?
Compare the player's controller, ie: if (controller of player[x] == human) etc
Thanks bumpinthenig, i was able to get the unit creation part working, but i still need help with random point unit creation. thanks.
Btw about the random waves, just read the tutorials about wave creation and then with a bit of understanding on how to use random numbers inside of triggers I'm sure you'll be able to figure out the random part. Making the waves is much harder then picking a random base to do it in.