• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Dialog Box Problems

Status
Not open for further replies.
Level 2
Joined
Apr 1, 2019
Messages
156
Making a Dialog box with multiple buttons and certain buttons open other dialog boxes with multiple buttons and a Back button.

For some reason I can't get it working, when I click "Normal Settings" it opens up "Entropy Settings" but some times it doesn't. Within "Normal Settings" the "Difficulty" button only cycles between "60% unit health" and "200% unit health" the other 6 options don't appear. There's more odd stuff it does sometimes but not others.

Here's the triggers, sorry it's alot. I left some out cause I had no problems with them

Dialog Set Strings

  • Events
    • Map initialization
  • Conditions
  • Actions
    • -------- Game Mode --------
    • Set DialogButton_Pick_String[1] = |cffddaa33Pick:|r |cffffffffSpin the Slots|r
    • Set DialogButton_Pick_String[2] = |cffddaa33Pick:|r |cffffffffAll Pick|r
    • Set DialogButton_Pick_String[3] = |cffddaa33Pick:|r |cffffffffAll Random|r
    • Set DialogButton_Gamemode_String[1] = |cffddaa33Game Mode:|r |cffffffffNormal|r
    • Set DialogButton_Gamemode_String[2] = |cffddaa33Game Mode:|r |cffffffffEntropy|r
    • Set DialogButton_ModOption_String[1] = |c00AAAAFFNormal Mode Settings|r
    • Set DialogButton_ModOption_String[2] = |c00AAAAFFEntropy Mode Settings|r
    • For each (Integer A) from 1 to 3, do (Actions)
      • Loop - Actions
        • Set Dialog_Int_GameOptions[(Integer A)] = 1
    • -------- Normal Mode Settings --------
    • For each (Integer A) from 1 to 8, do (Actions)
      • Loop - Actions
        • Set DialogB_Normal_Difficulty_Stri[(Integer A)] = (|cffddaa33Difficulty:|r + ((|cffffffff + ((String((((Integer A) x 20) + 40))) + % Unit Health|r)) + <Empty String>))
    • Set DialogB_Normal_Gold_String[1] = |cffddaa33Starting Gold:|r |cffffffff60|r
    • Set DialogB_Normal_Gold_String[2] = |cffddaa33Starting Gold:|r |cffffffff80|r
    • Set DialogB_Normal_Gold_String[3] = |cffddaa33Starting Gold:|r |cffffffff40|r
    • For each (Integer A) from 1 to 4, do (Actions)
      • Loop - Actions
        • Set DialogB_Normal_Lives_String[(Integer A)] = (|cffddaa33Starting Lives:|r + (|cffffffff + ((String((((Integer A) x 10) + 0))) + |r)))
    • Set DialogB_Normal_FOW_String[1] = |cffddaa33Fog of War:|r |c0000AA00On|r
    • Set DialogB_Normal_FOW_String[2] = |cffddaa33Fog of War:|r |cffff0303Off|r
    • Set Dialog_Int_NormalOptions[1] = 3
    • Set Dialog_Int_NormalOptions[2] = 1
    • Set Dialog_Int_NormalOptions[3] = 3
    • Set Dialog_Int_NormalOptions[4] = 1
    • -------- Entropy Mode Settings --------
    • Set DialogB_Entropy_Difficulty_Str[1] = |cffddaa33Defeat After:|r |cffffffff100 Kills Behind|r
    • Set DialogB_Entropy_Difficulty_Str[2] = |cffddaa33Defeat After:|r |cffffffff125 Kills Behind|r
    • Set DialogB_Entropy_Difficulty_Str[3] = |cffddaa33Defeat After:|r |cffffffff50 Kills Behind|r
    • Set DialogB_Entropy_Difficulty_Str[4] = |cffddaa33Defeat After:|r |cffffffff75 Kills Behind|r
    • Set DialogB_Entropy_Gold_Str[1] = |cffddaa33Gold Per Wave:|r |cffffffff30|r
    • Set DialogB_Entropy_Gold_Str[2] = |cffddaa33Gold Per Wave:|r |cffffffff40|r
    • Set DialogB_Entropy_Gold_Str[3] = |cffddaa33Gold Per Wave:|r |cffffffff20|r
    • Set DialogB_Entropy_MapGen_Str[1] = |cffddaa33Generate New Map:|r |cffff0303Never|r
    • Set DialogB_Entropy_MapGen_Str[2] = |cffddaa33Generate New Map:|r |cffffffffEvery 5 Waves|r
    • Set DialogB_Entropy_MapGen_Str[3] = |cffddaa33Generate New Map:|r |cffffffffEvery 10 Waves|r
    • Set DialogB_Entropy_MapGen_Str[4] = |cffddaa33Generate New Map:|r |cffffffffEvery 15 Waves|r
    • Set DialogB_Entropy_FOW_Str[1] = |cffddaa33Reveal Map:|r |cffffffffEvery 10 Waves|r
    • Set DialogB_Entropy_FOW_Str[2] = |cffddaa33Reveal Map:|r |c0000AA00Always Visible|r
    • Set DialogB_Entropy_FOW_Str[3] = |cffddaa33Reveal Map:|r |cffffffffEvery 3 Waves|r
    • Set DialogB_Entropy_FOW_Str[4] = |cffddaa33Reveal Map:|r |cffffffffEvery 5 Waves|r
    • For each (Integer A) from 1 to 4, do (Actions)
      • Loop - Actions
        • Set Dialog_Int_EntropyOptions[(Integer A)] = 1
    • -------- Hero Arena Settings --------
    • Set DialogB_Hero_Toggle_Strin[1] = |cffddaa33Hero Arena:|r |c0000AA00On|r
    • Set DialogB_Hero_Toggle_Strin[2] = |cffddaa33Hero Arena:|r Only After Defeat
    • Set DialogB_Hero_Toggle_Strin[3] = |cffddaa33Hero Arena:|r |cffff0303Off|r
    • Set DialogB_Hero_Spawn_Strin[1] = |cffddaa33Hero Spawn Area:|r |cffffffffSafe-Zone|r
    • Set DialogB_Hero_Spawn_Strin[2] = |cffddaa33Hero Spawn Area:|r |cffffffffArena|r
    • For each (Integer A) from 1 to 2, do (Actions)
      • Loop - Actions
        • Set Dialog_Int_HeroOptions[(Integer A)] = 1

Gamemode

  • Events
    • Time - Elapsed game time is 1.00 seconds
  • Conditions
  • Actions
    • Dialog - Clear DialogBox
    • Dialog - Change the title of DialogBox to |cffddaa33Game Opti...
    • Dialog - Create a dialog button for DialogBox labelled DialogButton_Pick_String[Dialog_Int_GameOptions[1]]
    • Set DialogButton_Pick[Dialog_Int_GameOptions[1]] = (Last created dialog Button)
    • Dialog - Create a dialog button for DialogBox labelled DialogButton_Gamemode_String[Dialog_Int_GameOptions[2]]
    • Set DialogButton_GameMode[Dialog_Int_GameOptions[2]] = (Last created dialog Button)
    • Dialog - Create a dialog button for DialogBox labelled DialogButton_ModOption_String[Dialog_Int_GameOptions[3]]
    • Set DialogButton_ModeOptions[Dialog_Int_GameOptions[3]] = (Last created dialog Button)
    • Dialog - Create a dialog button for DialogBox labelled |c00AAAAFFHero Aren...
    • Set DialogButton_HeroSettin = (Last created dialog Button)
    • Dialog - Create a dialog button for DialogBox labelled Reset Values to Def...
    • Set DialogButton_Default = (Last created dialog Button)
    • Dialog - Create a dialog button for DialogBox labelled |c0000AA00Start Gam...
    • Set DialogButton_StartGame = (Last created dialog Button)
    • Dialog - Show DialogBox for Player 1 (Red)

Game Mode Pick

  • Events
    • Dialog - A dialog button is clicked for DialogBox
  • Conditions
    • Or - Any (Conditions) are true
      • Conditions
        • (Clicked dialog button) Equal to DialogButton_Pick[1]
        • (Clicked dialog button) Equal to DialogButton_Pick[2]
        • (Clicked dialog button) Equal to DialogButton_Pick[3]
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogButton_Pick[1]
      • Then - Actions
        • Set Dialog_Int_GameOptions[1] = 2
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogButton_Pick[2]
      • Then - Actions
        • Set Dialog_Int_GameOptions[1] = 3
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogButton_Pick[3]
      • Then - Actions
        • Set Dialog_Int_GameOptions[1] = 1
      • Else - Actions
    • Trigger - Run Game Mode <gen> (checking conditions)

Game Mode Game Options

  • Events
    • Dialog - A dialog button is clicked for DialogBox
  • Conditions
    • Or - Any (Conditions) are true
      • Conditions
        • (Clicked dialog button) Equal to DialogButton_GameMode[1]
        • (Clicked dialog button) Equal to DialogButton_GameMode[2]
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogButton_GameMode[1]
      • Then - Actions
        • Set Dialog_Int_GameOptions[2] = 2
        • Set Dialog_Int_GameOptions[3] = 2
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogButton_GameMode[2]
      • Then - Actions
        • Set Dialog_Int_GameOptions[2] = 1
        • Set Dialog_Int_GameOptions[3] = 1
      • Else - Actions
    • Trigger - Run Game Mode <gen> (checking conditions)

Game Mode Normal Entropy

  • Events
    • Dialog - A dialog button is clicked for DialogBox
  • Conditions
    • Or - Any (Conditions) are true
      • Conditions
        • (Clicked dialog button) Equal to DialogButton_ModeOptions[1]
        • (Clicked dialog button) Equal to DialogButton_ModeOptions[2]
  • Actions
    • Dialog - Clear DialogBox
    • Dialog - Hide DialogBox for Player 1 (Red)
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogButton_ModeOptions[1]
      • Then - Actions
        • Trigger - Run Normal Mode <gen> (checking conditions)
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogButton_ModeOptions[2]
      • Then - Actions
        • Trigger - Run Entropy Mode <gen> (checking conditions)
      • Else - Actions

Game Mode Hero Settings

  • Events
    • Dialog - A dialog button is clicked for DialogBox
  • Conditions
    • (Clicked dialog button) Equal to DialogButton_HeroSettin
  • Actions
    • Dialog - Clear DialogBox
    • Dialog - Hide DialogBox for Player 1 (Red)
    • Trigger - Run Hero Settings <gen> (checking conditions)

Game Mode Defaults

  • Events
    • Dialog - A dialog button is clicked for DialogBox
  • Conditions
    • (Clicked dialog button) Equal to DialogButton_Default
  • Actions
    • For each (Integer A) from 1 to 3, do (Actions)
      • Loop - Actions
        • Set Dialog_Int_GameOptions[(Integer A)] = 1
    • Set Dialog_Int_NormalOptions[1] = 3
    • Set Dialog_Int_NormalOptions[2] = 1
    • Set Dialog_Int_NormalOptions[3] = 3
    • Set Dialog_Int_NormalOptions[4] = 1
    • For each (Integer A) from 1 to 4, do (Actions)
      • Loop - Actions
        • Set Dialog_Int_EntropyOptions[(Integer A)] = 1
    • For each (Integer A) from 1 to 2, do (Actions)
      • Loop - Actions
        • Set Dialog_Int_HeroOptions[(Integer A)] = 1
    • Trigger - Run Game Mode <gen> (checking conditions)

Game Mode Start

  • Events
    • Dialog - A dialog button is clicked for DialogBox
  • Conditions
    • (Clicked dialog button) Equal to DialogButton_StartGame
  • Actions
    • Dialog - Hide DialogBox for Player 1 (Red)
    • Dialog - Clear DialogBox
    • Game - Display to (All players) the text: Done

Normal Mode

  • Events
  • Conditions
  • Actions
    • Dialog - Clear DialogBox_Normal
    • Dialog - Change the title of DialogBox_Normal to |cffddaa33Normal Mo...
    • Dialog - Create a dialog button for DialogBox_Normal labelled DialogB_Normal_Difficulty_Stri[Dialog_Int_NormalOptions[1]]
    • Set DialogB_Normal_Difficulty[Dialog_Int_NormalOptions[1]] = (Last created dialog Button)
    • Dialog - Create a dialog button for DialogBox_Normal labelled DialogB_Normal_Gold_String[Dialog_Int_NormalOptions[2]]
    • Set DialogB_Normal_Gold[Dialog_Int_NormalOptions[2]] = (Last created dialog Button)
    • Dialog - Create a dialog button for DialogBox_Normal labelled DialogB_Normal_Lives_String[Dialog_Int_NormalOptions[3]]
    • Set DialogB_Normal_Lives[Dialog_Int_NormalOptions[3]] = (Last created dialog Button)
    • Dialog - Create a dialog button for DialogBox_Normal labelled DialogB_Normal_FOW_String[Dialog_Int_NormalOptions[4]]
    • Set DialogB_Normal_FOW[Dialog_Int_NormalOptions[4]] = (Last created dialog Button)
    • Dialog - Create a dialog button for DialogBox_Normal labelled |c0000AA00Back|r
    • Set DialogB_Normal_Back = (Last created dialog Button)
    • Dialog - Show DialogBox_Normal for Player 1 (Red)

Normal Mode Difficulty

  • Events
    • Dialog - A dialog button is clicked for DialogBox_Normal
  • Conditions
    • Or - Any (Conditions) are true
      • Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[1]
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[2]
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[3]
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[4]
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[5]
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[6]
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[7]
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[8]
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[1]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[1] = 2
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[2]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[1] = 3
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[3]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[1] = 4
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[4]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[1] = 5
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[5]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[1] = 6
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[6]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[1] = 7
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[7]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[1] = 8
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Difficulty[8]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[1] = 1
      • Else - Actions
    • Trigger - Run Normal Mode <gen> (checking conditions)

Normal Mode Gold

  • Events
    • Dialog - A dialog button is clicked for DialogBox_Normal
  • Conditions
    • Or - Any (Conditions) are true
      • Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Gold[1]
        • (Clicked dialog button) Equal to DialogB_Normal_Gold[2]
        • (Clicked dialog button) Equal to DialogB_Normal_Gold[3]
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Gold[1]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[2] = 2
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Gold[2]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[2] = 3
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Gold[3]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[2] = 1
      • Else - Actions
    • Trigger - Run Normal Mode <gen> (checking conditions)

Normal Mode Lives

  • Events
    • Dialog - A dialog button is clicked for DialogBox_Normal
  • Conditions
    • Or - Any (Conditions) are true
      • Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Lives[1]
        • (Clicked dialog button) Equal to DialogB_Normal_Lives[2]
        • (Clicked dialog button) Equal to DialogB_Normal_Lives[3]
        • (Clicked dialog button) Equal to DialogB_Normal_Lives[4]
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Lives[1]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[3] = 2
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Lives[2]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[3] = 3
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Lives[3]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[3] = 4
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_Lives[4]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[3] = 1
      • Else - Actions
    • Trigger - Run Normal Mode <gen> (checking conditions)

Normal Mode FOW

  • Events
    • Dialog - A dialog button is clicked for DialogBox_Normal
  • Conditions
    • Or - Any (Conditions) are true
      • Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_FOW[1]
        • (Clicked dialog button) Equal to DialogB_Normal_FOW[2]
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_FOW[1]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[4] = 2
      • Else - Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Clicked dialog button) Equal to DialogB_Normal_FOW[2]
      • Then - Actions
        • Set Dialog_Int_NormalOptions[4] = 1
      • Else - Actions
    • Trigger - Run Normal Mode <gen> (checking conditions)

Normal Mode Ok

  • Events
    • Dialog - A dialog button is clicked for DialogBox_Normal
  • Conditions
    • (Clicked dialog button) Equal to DialogB_Normal_Back
  • Actions
    • Dialog - Clear DialogBox_Normal
    • Dialog - Hide DialogBox_Normal for Player 1 (Red)
    • Trigger - Run Game Mode <gen> (checking conditions)
 
Last edited:
Level 2
Joined
Apr 1, 2019
Messages
156
Figured out when you click a button the conditions are met for multiple other buttons being clicked, not sure why though

Anyways I combined the triggers and changed them to this and it appears to fix it.

  • Game Mode Buttons
    • Events
      • Dialog - A dialog button is clicked for DialogBox
    • Conditions
    • Actions
      • -------- PICK --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Clicked dialog button) Equal to DialogButton_Pick[1]
        • Then - Actions
          • Game - Display to (All players) the text: 1
          • Set Dialog_Int_GameOptions[1] = 2
          • Trigger - Run Game Mode <gen> (checking conditions)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Clicked dialog button) Equal to DialogButton_Pick[2]
            • Then - Actions
              • Game - Display to (All players) the text: 2
              • Set Dialog_Int_GameOptions[1] = 3
              • Trigger - Run Game Mode <gen> (checking conditions)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Clicked dialog button) Equal to DialogButton_Pick[3]
                • Then - Actions
                  • Game - Display to (All players) the text: 3
                  • Set Dialog_Int_GameOptions[1] = 1
                  • Trigger - Run Game Mode <gen> (checking conditions)
                • Else - Actions
                  • -------- GAME OPTIONS --------
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Clicked dialog button) Equal to DialogButton_GameMode[1]
                    • Then - Actions
                      • Game - Display to (All players) the text: 4
                      • Set Dialog_Int_GameOptions[2] = 2
                      • Set Dialog_Int_GameOptions[3] = 2
                      • Trigger - Run Game Mode <gen> (checking conditions)
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • (Clicked dialog button) Equal to DialogButton_GameMode[2]
                        • Then - Actions
                          • Game - Display to (All players) the text: 5
                          • Set Dialog_Int_GameOptions[2] = 1
                          • Set Dialog_Int_GameOptions[3] = 1
                          • Trigger - Run Game Mode <gen> (checking conditions)
                        • Else - Actions
                          • -------- NORMAL ENTROPY --------
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • (Clicked dialog button) Equal to DialogButton_ModeOptions[1]
                            • Then - Actions
                              • Game - Display to (All players) the text: 6
                              • Dialog - Clear DialogBox
                              • Dialog - Hide DialogBox for Player 1 (Red)
                              • Trigger - Run Normal Mode <gen> (checking conditions)
                            • Else - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • (Clicked dialog button) Equal to DialogButton_ModeOptions[2]
                                • Then - Actions
                                  • Game - Display to (All players) the text: 7
                                  • Dialog - Clear DialogBox
                                  • Dialog - Hide DialogBox for Player 1 (Red)
                                  • Trigger - Run Entropy Mode <gen> (checking conditions)
                                • Else - Actions
                                  • -------- HERO SETTINGS --------
                                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    • If - Conditions
                                      • (Clicked dialog button) Equal to DialogButton_HeroSettin
                                    • Then - Actions
                                      • Game - Display to (All players) the text: 8
                                      • Dialog - Clear DialogBox
                                      • Dialog - Hide DialogBox for Player 1 (Red)
                                      • Trigger - Run Hero Settings <gen> (checking conditions)
                                    • Else - Actions
                                      • -------- DEFAULTS --------
                                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                        • If - Conditions
                                          • (Clicked dialog button) Equal to DialogButton_Default
                                        • Then - Actions
                                          • Game - Display to (All players) the text: 9
                                          • For each (Integer A) from 1 to 3, do (Actions)
                                            • Loop - Actions
                                              • Set Dialog_Int_GameOptions[(Integer A)] = 1
                                          • Set Dialog_Int_NormalOptions[1] = 3
                                          • Set Dialog_Int_NormalOptions[2] = 1
                                          • Set Dialog_Int_NormalOptions[3] = 3
                                          • Set Dialog_Int_NormalOptions[4] = 1
                                          • For each (Integer A) from 1 to 4, do (Actions)
                                            • Loop - Actions
                                              • Set Dialog_Int_EntropyOptions[(Integer A)] = 1
                                          • For each (Integer A) from 1 to 2, do (Actions)
                                            • Loop - Actions
                                              • Set Dialog_Int_HeroOptions[(Integer A)] = 1
                                          • Trigger - Run Game Mode <gen> (checking conditions)
                                        • Else - Actions
 
Status
Not open for further replies.
Top