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