- Joined
- Jul 18, 2009
- Messages
- 200
My Dialog is Weird
I'm doing a map called Hero Arena v0.1(atm). But the dialog is wicked. Look at it
-
Dialog Button press
-
Events
- Dialog - A dialog button is clicked for HeroDialog
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to HeroDialogButton[4]
-
Then - Actions
- Set temp_Point = ((Picked player) start location)
- Unit - Create 1 Blademaster Yuniko for (Picked player) at temp_Point facing Default building facing degrees
- Custom script: call RemoveLocation(udg_temp_Point)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
The dialog init:
-
DialoBox
-
Events
- Map initialization
- Conditions
-
Actions
- Dialog - Clear HeroDialog
- Dialog - Change the title of HeroDialog to |c0000ff00H|c0015e9...
- Dialog - Create a dialog button for HeroDialog labelled Yuniko Rawkiller
- Set HeroDialogButton[1] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroDialog labelled Pandaren Sorcerer
- Set HeroDialogButton[2] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroDialog labelled Voodo Hunter
- Set HeroDialogButton[3] = (Last created dialog Button)
- Dialog - Create a dialog button for HeroDialog labelled Dark Ranger
- Set HeroDialogButton[4] = (Last created dialog Button)
- Dialog - Show HeroDialog for Player 1 (Red)
-
Events