I'am just starting to get my hands dirty with the SC2 Map Edition, I have made many maps during the SC1 Era. I am trying to re-make a map I did for SC1 but having some trouble finding the correct trigger I need.
Basically, I have a Region setup for each Player. Each player will control an Observer that you can move. Every so often a unit/building should spawn from under the observer. The way I accomplished in SC1 would be to have a trigger update the location of the Map Region to under the Observer so it would always spawn under the observer in the Region. I cant find such a trigger in SC2. Is there another way or am I not looking hard enough?
Would it be better to have a Every So Often, Spawn unit/building under Specified Unit?
I will take a look at it when I get home from work.
So you think its called Attach Region to Unit? or atleast something that specifys Region in the trigger?
This is the information I was looking for, Thank you.
Could a "Unit" also be a Building?, or does it describe unit as a Unit and there is a seperate trigger for structures?
You can do a "Pick Units Matching Condition" with a condition only selecting the unit type of your Observer. This can be cumbersome, though.
I suggest you store the Observers (those units that poop out the other units you wanted) in global variables upon map initialization or when the Observers are created (use an array for this). This way you can simply use this variable (array) to refer to your pooping Observer. If you use an array (and you should!!), the index number should be the player's number. "Triggering Player" is an integer, and yes you guessed right, it's the players number. :)
Hello All,
I'am just starting to get my hands dirty with the SC2 Map Edition, I have made many maps during the SC1 Era. I am trying to re-make a map I did for SC1 but having some trouble finding the correct trigger I need.
Basically, I have a Region setup for each Player. Each player will control an Observer that you can move. Every so often a unit/building should spawn from under the observer. The way I accomplished in SC1 would be to have a trigger update the location of the Map Region to under the Observer so it would always spawn under the observer in the Region. I cant find such a trigger in SC2. Is there another way or am I not looking hard enough?
Would it be better to have a Every So Often, Spawn unit/building under Specified Unit?
Thanks for your Help on this one.
I think there is a trigger called "Attach region to unit" or something like that, i think it will do that.
I will take a look at it when I get home from work. So you think its called Attach Region to Unit? or atleast something that specifys Region in the trigger?
@Tekaichi: Go
@GhostlyMarine: Go
First of all, you don't need a moving region for this. You may simply do something like this:
If you want to just move the region from time to time, you may use:
And as Tekaichi says, you may also attach a region to a unit, causing it to follow it around.
This is the information I was looking for, Thank you. Could a "Unit" also be a Building?, or does it describe unit as a Unit and there is a seperate trigger for structures?
@GhostlyMarine: Go
buildings are units :)
So are missles... and lots of stuff.
oh and BTW: Welcome to sc2mapster (I know you've been here sense 3 Oct 2009, but the above are your only posts and nobody welcomed you!)
Excellant Information. Thank you! and Thank you for the Welcome. @grenegg: Go
So I guess a side issue I have is when I do Unit - Create 1 <Unit> for player <1> at (Position of <Unit>) facing 270.0 degrees (No Options)
I cannot select the unit I want the units to spawn at.
@GhostlyMarine: Go
@GhostlyMarine: Go
Cannot select in-game? Or select in triggers?
In triggers. I want ONLY a specific Unit to spawn said units.
@Tekaichi: Go
@GhostlyMarine: Go
You can do a "Pick Units Matching Condition" with a condition only selecting the unit type of your Observer. This can be cumbersome, though.
I suggest you store the Observers (those units that poop out the other units you wanted) in global variables upon map initialization or when the Observers are created (use an array for this). This way you can simply use this variable (array) to refer to your pooping Observer. If you use an array (and you should!!), the index number should be the player's number. "Triggering Player" is an integer, and yes you guessed right, it's the players number. :)
Good luck!