- Joined
- Jun 18, 2008
- Messages
- 70
Hi. Im making a survival game. I made a dialog hero selection system,but it doesnt work. Here it is:
-
Events
- Player - Player 1 (Red) types a chat message containing -dialog as An exact match
- Conditions
-
Actions
- Dialog - Create a dialog button for Dialog labelled Select your class.
- Dialog - Create a dialog button for Dialog labelled Regular
- Set DialogRegular= (Last created dialog Button)
- Dialog - Create a dialog button for Dialog labelled DialogMechanic
- Set DialogMechanic = (Last created dialog Button)
-
Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Dialog - Show Dialog for (Picked player)Dialog2
-
Events
- Dialog - A dialog button is clicked for Dialog
-
Conditions
- (Clicked dialog button) Equal to DialogRegular
-
Actions
- Unit - Create 1 Regular for (Triggering player) at (Random point in (Playable map area)) facing Default building facing degreesDialogmechanic
-
Events
- Dialog - A dialog button is clicked for Dialog
-
Conditions
- (Clicked dialog button) Equal to DialogMechanic
-
Actions
- Unit - Create 1 Mechanic for (Triggering player) at (Random point in (Playable map area)) facing Default building facing degrees
Last edited by a moderator: