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

[General] Mode Selection

Status
Not open for further replies.
Level 2
Joined
Aug 24, 2012
Messages
8
I want to make a Table to choose Hard/Normal/Easy when players first start the game, in which the Mode affects units to give them more Hp/Attack/Armor...etc.

My map is a type of Hero Defense, I want to make it possible for 2-3 persons with Easy Mode, or 4-5 persons with Normal Mode and 6-8 persons with Hard Mode. But I dont know how to create this kind of trigger. :cry:

Can someone help me with the trigger? I'm newbie here.

Please! Any help will be appreciated!

Thanks in advance! :wink:
 
Level 4
Joined
Aug 26, 2012
Messages
123
-Create a dialog box, by define the variable-type Dialog (I give name "LevelDialog").
-Create dialog button variable, by use var-type DialogButton, with array of 3 (I give name DialogButton)
-Show The Dialog after time elapsed 1 second. Look here:
  • Untitled Trigger 001
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Dialog - Change the title of LevelDialog to The Title You Want
      • Dialog - Create a dialog button for LevelDialog labelled Easy
      • Set DialogButton[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for LevelDialog labelled Medium
      • Set DialogButton[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for LevelDialog labelled Hard
      • Set DialogButton[3] = (Last created dialog Button)
      • Dialog - Show LevelDialog for Player 1 (Red)
-And define what you want to do with those levels:
  • Untitled Trigger 002
    • Events
      • Dialog - A dialog button is clicked for LevelDialog
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Clicked dialog button) Equal to DialogButton[1]
        • Then - Actions
          • -------- Do whatever you want on Easy Mode --------
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Clicked dialog button) Equal to DialogButton[2]
            • Then - Actions
              • -------- Do whatever you want on Medium Mode --------
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Clicked dialog button) Equal to DialogButton[3]
                • Then - Actions
                  • -------- Do whatever you want on Hard Mode --------
                • Else - Actions
                  • Do nothing
(Wow, this tags is really awesome!)
 
Level 4
Joined
Aug 26, 2012
Messages
123
Well, that's a nice add, thanks...
(hey thanhtran2, so which one? And, yeah, but it looks good. An action that do nothing... Not doing any action!!!! What action is that?!)
 
Status
Not open for further replies.
Top