Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
For my map, i have a hero-pick system. For this, i use a dialog. Problem is, i want 2 seperate dialogs for 2 diffeent teams, or make it one dialog, but when a player clicks a hero from the other team...they can re-pick
Dialog Initialization
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
-------- Remove the following action when using the Dialog system --------
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Dialog - Hide Dialog for (Picked player)
-------- Remove the previous action when using the Dialog system --------
Dialog - Change the title of Dialog to Select your hero
Dialog - Create a dialog button for Dialog labelled Totem Master
Set DialogTotem = (Last created dialog Button)
Dialog - Create a dialog button for Dialog labelled Warlord
Set DialogWarlord = (Last created dialog Button)
Dialog - Create a dialog button for Dialog labelled Arthas
Set DialogArthas = (Last created dialog Button)
Dialog - Create a dialog button for Dialog labelled Skull Crusher
Set DialogHammer = (Last created dialog Button)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Dialog - Show Dialog for (Picked player)
Trigger - Turn off (This trigger)
This is an example of a hero for orcs
Dialog Totem Master
Events
Dialog - A dialog button is clicked for Dialog
Conditions
((Triggering player) is an ally of Player 1 (Red)) Equal to True
(Clicked dialog button) Equal to DialogTotem
Actions
Unit - Create 1 Totem Master for (Triggering player) at (Center of Urlekk Spawn <gen>) facing Default building facing degrees
Camera - Pan camera for (Triggering player) to (Center of Urlekk Spawn <gen>) over 1.00 seconds
This is an example of a hero for the humans
Dialog Arthas
Events
Dialog - A dialog button is clicked for Dialog
Conditions
((Triggering player) is an ally of Player 4 (Purple)) Equal to True
(Clicked dialog button) Equal to DialogArthas
Actions
Unit - Create 1 Arthas (wielding Frostmourne) for (Triggering player) at (Center of Human Spawn <gen>) facing Default building facing degrees
Camera - Pan camera for (Triggering player) to (Center of Human Spawn <gen>) over 1.00 seconds
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.