Dialog won't show up

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...

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 (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
          • Trigger - Turn on Replace Castles <gen>
          • Game - Display to (All players) the text: Hero Experience gai...
        • Else - Actions
      • 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
          • Trigger - Turn on Replace Castles <gen>
          • Game - Display to (All players) the text: Hero Experience gai...
        • Else - Actions
      • 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 (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

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 (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
 

Sneakster

Active Member
Reaction score
24
The dialog you click the button for is dialog 5. In your actions, you say to clear dialog 6 and change the title and whatnot. Couldn't that be a problem? Could you be referencing the wrong dialog?
 

Yoshii

New Member
Reaction score
74
you are clearing and changing title of the same Dialog
Trigger:
  • # Dialog - Clear Dialog[6]
    • # Dialog - Change the title of Dialog[6] to Tier Style

??
 

Eyonix

TH.net Regular
Reaction score
16
No it shouldn't because its the first line, the title and buttons are being changed after the clear line, but to make sure I changed it and it still didn't work.

edit: yeah i meant to make it clear 5, but it didn't matter
edit2: I also increased the array size for my dialog variable and that didn't matter either.
 

Yoshii

New Member
Reaction score
74
No it shouldn't because its the first line, the title and buttons are being changed after the clear line, but to make sure I changed it and it still didn't work.

edit: yeah i meant to make it clear 5, but it didn't matter
edit2: I also increased the array size for my dialog variable and that didn't matter either.
is the game text shown at all? aka "hero gained bla bla text"
 

Eyonix

TH.net Regular
Reaction score
16
Yeah the text is shown in game

edit: :nuts: I just changed it so instead of dialog[6] it did the same trigger for dialog[7] and it works.... But I checked all my triggers I never used dialog[6] before that part
 

Yoshii

New Member
Reaction score
74
Yeah the text is shown in game
so you made sure your array size of your dialog is high enoug?
Try to use different button number (5-8) (dont forgot to increase array size) and see what happen but then again if the dialog doesnt even show up its probably not the button
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top