How do I make a platform where I would move like a probe into one of 6 choices the probe would die and the one they chose will spawn. And how to control where they spawn.
ill put it right here so that anyone else that needs help can read it
youll want to start off by creating a dialog, go into triggers and make a trigger with action " Dialog - Create a Modal dialog of size (size you want) at (location you want) relative to Center of screen" then set a global variable as last created dialog
create 6 actions like "Dialog - Create a Button for Dialog Main Dialog with the dimensions (button size) anchored to Top with an offset of (location on the dialog) setting the tooltip to "" with button tex "(character name)" and the hover image set to "" and make sure to set each one to a variable as you create it
then make a new trigger for the actual stuff that happens when you click a button. do events "Dialog - Any Dialog Item is Clicked by Player (Triggering player)" and conditions "(Used dialog item) == (whatever variable you set the first button to)"
make actions "Unit - Create 1 (the character you want picked) for player (Triggering Player) at (the point you want the character spawned) using default facing (No Options)"
repeat for each button
i know im not the best at explaining things, so if you want you can a look at my miles map, i did a lot of dialog work in that
If you still want the simple way it would go like this.
Make 2 regions and name the first one like "Die for Marine (Or what ever unit)" that is where the probe enters. Then make one that is named something like "Unit Spawn" where your unit will spawn
Then make a trigger
Event - Unit (The Probe) enters region Die for Marine
Actions - Kill Unit; Create Unit facing angle (What ever unit, lets say Marine) at center of Region Unit Spawn; Then an optional Pan Camera.
If your not 100% sure look at the Special Forces map and how they did it. They explain it clearly if you look at the triggers.
How do I make a platform where I would move like a probe into one of 6 choices the probe would die and the one they chose will spawn. And how to control where they spawn.
in the sc2 editor, with more advanced stuff, i would do a dialog based character selection, ill help you with that if you want
Yes please. Shoot me a PM
ill put it right here so that anyone else that needs help can read it
youll want to start off by creating a dialog, go into triggers and make a trigger with action " Dialog - Create a Modal dialog of size (size you want) at (location you want) relative to Center of screen" then set a global variable as last created dialog
create 6 actions like "Dialog - Create a Button for Dialog Main Dialog with the dimensions (button size) anchored to Top with an offset of (location on the dialog) setting the tooltip to "" with button tex "(character name)" and the hover image set to "" and make sure to set each one to a variable as you create it
then make a new trigger for the actual stuff that happens when you click a button. do events "Dialog - Any Dialog Item is Clicked by Player (Triggering player)" and conditions "(Used dialog item) == (whatever variable you set the first button to)"
make actions "Unit - Create 1 (the character you want picked) for player (Triggering Player) at (the point you want the character spawned) using default facing (No Options)"
repeat for each button
i know im not the best at explaining things, so if you want you can a look at my miles map, i did a lot of dialog work in that
Thanks. Nah, it's a great explanation.
If you still want the simple way it would go like this.
Make 2 regions and name the first one like "Die for Marine (Or what ever unit)" that is where the probe enters. Then make one that is named something like "Unit Spawn" where your unit will spawn
Then make a trigger Event - Unit (The Probe) enters region Die for Marine
Actions - Kill Unit; Create Unit facing angle (What ever unit, lets say Marine) at center of Region Unit Spawn; Then an optional Pan Camera. If your not 100% sure look at the Special Forces map and how they did it. They explain it clearly if you look at the triggers.