• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

How to make the "Continue" button actually let you continue

Status
Not open for further replies.
At the end of my map when the game ends in Victory or Defeat, you get the "Continue" or "Quit Game" options, but... They do the same thing. For the record I'm using the "Victory" and "Defeat" triggers to end the game.

So this isn't really a huge issue per say, since it only affects the cases where you might want to keep playing after winning/losing, but I'm wondering if there's a way to change it so you actually can continue.
 
Create your own victory dialog, it's very simple :
  • Victory Dialog
    • Events
    • Conditions
    • Actions
      • Dialog - Clear VictoryDialog
      • Dialog - Change the title of VictoryDialog to Victory !
      • Dialog - Create a dialog button for VictoryDialog labelled Continue
      • Set VariableSet VictoryContinue = (Last created dialog Button)
      • Dialog - Create a dialog button for VictoryDialog labelled Quit Game
      • Set VariableSet VictoryQuit = (Last created dialog Button)
      • Dialog - Show VictoryDialog for (Triggering player)
  • Victory Check
    • Events
      • Dialog - A dialog button is clicked for VictoryDialog
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Clicked dialog button) Equal to VictoryContinue
        • Then - Actions
          • -------- Do nothing here --------
        • Else - Actions
          • Game - Victory (Triggering player) (Show dialogs, Show scores)
 
Status
Not open for further replies.
Back
Top