- Joined
- Dec 31, 2014
- Messages
- 68
Hello,
I have made a Dialog based upon http://world-editor-tutorials.thehelper.net/dialogs.php
This is the trigger I created;
Variables
Dialogbuttons[1] : (Line: 9) Unit Group - Removed: No
Dialogbuttons[2] : (Line: 11) Unit Group - Removed: No
Dialogbuttons[3] : (Line: 13) Unit Group - Removed: No
While I have seen tutorials for how to fix unit group leaks I'm a little confused how to go about doing it for a dialog, any help would be appreciated.
I have made a Dialog based upon http://world-editor-tutorials.thehelper.net/dialogs.php
This is the trigger I created;
-
Showdialog
-
Events
-
Time - Elapsed game time is 0.10 seconds
-
-
Conditions
-
Actions
-
Dialog - Clear Startingclass
-
Dialog - Change the title of Startingclass to Choose your startin...
-
Dialog - Create a dialog button for Startingclass labelled Warrior ...
-
Set Dialogbuttons[1] = (Last created dialog Button)
-
Dialog - Create a dialog button for Startingclass labelled Mage ...
-
Set Dialogbuttons[2] = (Last created dialog Button)
-
Dialog - Create a dialog button for Startingclass labelled Thief ...
-
Set Dialogbuttons[3] = (Last created dialog Button)
-
Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
-
Loop - Actions
-
Dialog - Show Startingclass for Player 1 (Red)
-
Dialog - Show Startingclass for Player 2 (Blue)
-
Dialog - Show Startingclass for Player 3 (Teal)
-
-
-
-
Variables
Dialogbuttons[1] : (Line: 9) Unit Group - Removed: No
Dialogbuttons[2] : (Line: 11) Unit Group - Removed: No
Dialogbuttons[3] : (Line: 13) Unit Group - Removed: No
While I have seen tutorials for how to fix unit group leaks I'm a little confused how to go about doing it for a dialog, any help would be appreciated.
Last edited: