Eyonix
TH.net Regular
- Reaction score
- 16
In my king of the hill I make dialogs show up for red, choosing the modes.
When it gets to the dialog for choosing the unit spawning style, it never shows up, unless I missed something obvious this triggger is exactly the same as my other working triggers that shows my dialogs. Is there a max amount of dialogs you can show or something?
Heres my trigger thats not working...
I know that 1,2,3,4 buttons don't have any actions to display a dialog atm but it doesn't matter because in game im picking start at lvl 50 atm for testing.
Example of a trigger that does work.
When it gets to the dialog for choosing the unit spawning style, it never shows up, unless I missed something obvious this triggger is exactly the same as my other working triggers that shows my dialogs. Is there a max amount of dialogs you can show or something?
Heres my trigger thats not working...
Trigger:
- Dialog5 Hero EXP Rate
- Events
- Dialog - A dialog button is clicked for Dialog[5]
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to DialogButtons[1]
- Then - Actions
- Trigger - Turn on Replace Castles <gen>
- Game - Display to (All players) the text: Hero Experience gai...
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to DialogButtons[2]
- Then - Actions
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Hero - Make (Picked player) Heroes gain 200.00% experience from future kills
- Loop - Actions
- Trigger - Turn on Replace Castles <gen>
- Game - Display to (All players) the text: Hero Experience gai...
- Player Group - Pick every player in (All players) and do (Actions)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to DialogButtons[3]
- Then - Actions
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Hero - Make (Picked player) Heroes gain 300.00% experience from future kills
- Loop - Actions
- Trigger - Turn on Replace Castles <gen>
- Game - Display to (All players) the text: Hero Experience gai...
- Player Group - Pick every player in (All players) and do (Actions)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to DialogButtons[4]
- Then - Actions
- Trigger - Turn on Replace CastlesLVL25 <gen>
- Game - Display to (All players) the text: Hero Experience gai...
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to DialogButtons[5]
- Then - Actions
- Trigger - Turn on Replace CastlesLVL50 <gen>
- Dialog - Clear Dialog[5]
- Dialog - Change the title of Dialog[6] to Tier Style
- Dialog - Create a dialog button for Dialog[6] labelled Upgrade automatical...
- Set DialogButtons[1] = (Last created dialog Button)
- Dialog - Create a dialog button for Dialog[6] labelled Upgrade Manually
- Set DialogButtons[2] = (Last created dialog Button)
- Dialog - Show Dialog[6] for Player 1 (Red)
- Game - Display to (All players) the text: Hero Experience gai...
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
I know that 1,2,3,4 buttons don't have any actions to display a dialog atm but it doesn't matter because in game im picking start at lvl 50 atm for testing.
Example of a trigger that does work.
Trigger:
- Dialog3 Speed Mode
- Events
- Dialog - A dialog button is clicked for Dialog[3]
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to DialogButtons[1]
- Then - Actions
- Dialog - Clear Dialog[3]
- Dialog - Change the title of Dialog[4] to Speed Percent Incre...
- Dialog - Create a dialog button for Dialog[4] labelled 200%
- Set DialogButtons[1] = (Last created dialog Button)
- Dialog - Create a dialog button for Dialog[4] labelled 300%
- Set DialogButtons[2] = (Last created dialog Button)
- Dialog - Create a dialog button for Dialog[4] labelled 400%
- Set DialogButtons[3] = (Last created dialog Button)
- Dialog - Create a dialog button for Dialog[4] labelled 500%
- Set DialogButtons[4] = (Last created dialog Button)
- Dialog - Show Dialog[4] for Player 1 (Red)
- Trigger - Turn on Dialog4 Speed Percent <gen>
- Game - Display to (All players) the text: Speed Mode set to: ...
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Clicked dialog button) Equal to DialogButtons[2]
- Then - Actions
- Dialog - Clear Dialog[3]
- Dialog - Change the title of Dialog[5] to Hero Experience Gai...
- Dialog - Create a dialog button for Dialog[5] labelled Normal
- Set DialogButtons[1] = (Last created dialog Button)
- Dialog - Create a dialog button for Dialog[5] labelled 200%
- Set DialogButtons[2] = (Last created dialog Button)
- Dialog - Create a dialog button for Dialog[5] labelled 300%
- Set DialogButtons[3] = (Last created dialog Button)
- Dialog - Create a dialog button for Dialog[5] labelled Start at level 25
- Set DialogButtons[4] = (Last created dialog Button)
- Dialog - Create a dialog button for Dialog[5] labelled Start at level 50
- Set DialogButtons[5] = (Last created dialog Button)
- Dialog - Show Dialog[5] for Player 1 (Red)
- Game - Display to (All players) the text: Speed Mode set to: ...
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events