• 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!

Set Winning Score

Status
Not open for further replies.
It would probably be easier to set up a dialog box with a few options for winning score. Set up by:
  • Winning Score
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Dialog - Clear Dialog_Winning_Score
      • Dialog - Change the title of Dialog_Winning_Score to Winning Score
      • Dialog - Create a dialog button for Dialog_Winning_Score labelled 10
      • Set DialogButton[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for Dialog_Winning_Score labelled 20
      • Set DialogButton[2] = (Last created dialog Button)
      • Dialog - Show Dialog_Winning_Score for Player 2 (Blue)
Then when the dialog button is clicked:

  • Winning Score
    • Events
      • Dialog - A dialog button is clicked for Dialog_Winning_Score
    • Conditions
    • Actions
      • If ((Clicked dialog button) Equal to DialogButton[1]) then do (Set Integer_Winning_Score = 10) else do (Do nothing)
      • If ((Clicked dialog button) Equal to DialogButton[2]) then do (Set Integer_Winning_Score = 20) else do (Do nothing)
  • Trigger - Turn off (This Trigger)
 
Status
Not open for further replies.
Back
Top