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

Dialog Help

Status
Not open for further replies.
Level 6
Joined
May 9, 2011
Messages
228
i had a problem w/ the dialog that is just imported yesterday...
the dialog is a difficulty system...
Easy Mode
Normal Mode contains - Armor Bonus , Attack Bonus , Hp Bonus
Hard Mode contains - Armor Bonus , Attack Bonus , Hp Bonus
when i try to pick Hard Mode..so my prediction is that the creeps has a bigger hp , increases the armor and attack
so first wave starts to attack
a footman(player 12) has a 500 hp
then i click to see its life but nothing happens the difficulty system has no effect
heres the trigger of the dialog
  • Dialog Base
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Dialog - Change the title of Difficulty_Dialog to Select Difficulty!
      • Dialog - Create a dialog button for Difficulty_Dialog labelled Easy
      • Set Dfficulty_Dialog_Button[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for Difficulty_Dialog labelled Normal
      • Set Dfficulty_Dialog_Button[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for Difficulty_Dialog labelled Hard
      • Set Dfficulty_Dialog_Button[3] = (Last created dialog Button)
      • Dialog - Show Difficulty_Dialog for Player 1 (Red)

  • Dialog Version
    • Events
      • Dialog - A dialog button is clicked for Difficulty_Dialog
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Clicked dialog button) Equal to Dfficulty_Dialog_Button[1]
        • Then - Actions
          • Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Actions)
            • Loop - Actions
              • Unit - Remove Attack (HARD) from (Picked unit)
              • Unit - Remove Attack (NORMAL) from (Picked unit)
              • Unit - Remove Max HP (HARD) from (Picked unit)
              • Unit - Remove Max HP (NORMAL) from (Picked unit)
              • Unit - Remove Armor (HARD) from (Picked unit)
              • Unit - Remove Armor (NORMAL) from (Picked unit)
              • Game - Display to (All players) for 10.00 seconds the text: ((Name of (Triggering player)) + has selected easy mode.)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Clicked dialog button) Equal to Dfficulty_Dialog_Button[2]
            • Then - Actions
              • Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Actions)
                • Loop - Actions
                  • Unit - Add Attack (NORMAL) to (Picked unit)
                  • Unit - Add Armor (NORMAL) to (Picked unit)
                  • Unit - Add Max HP (NORMAL) to (Picked unit)
                  • Unit - Remove Attack (HARD) from (Picked unit)
                  • Unit - Remove Armor (HARD) from (Picked unit)
                  • Unit - Remove Max HP (HARD) from (Picked unit)
                  • Game - Display to (All players) for 10.00 seconds the text: ((Name of (Triggering player)) + has selected normal mode.)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Clicked dialog button) Equal to Dfficulty_Dialog_Button[3]
                • Then - Actions
                  • Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Actions)
                    • Loop - Actions
                      • Unit - Add Attack (HARD) to (Picked unit)
                      • Unit - Add Armor (HARD) to (Picked unit)
                      • Unit - Add Max HP (HARD) to (Picked unit)
                      • Unit - Remove Armor (NORMAL) from (Picked unit)
                      • Unit - Remove Attack (NORMAL) from (Picked unit)
                      • Unit - Remove Max HP (NORMAL) from (Picked unit)
                      • Game - Display to (All players) for 10.00 seconds the text: ((Name of (Triggering player)) + has selected hard mode.)
                • Else - Actions
pls can you help me....anyone who can help me ill give yah a +rep thnx
 
Level 9
Joined
Apr 26, 2011
Messages
403
Your Dialog system seen fine, so you need to find out where is problem

1, Try disable your dialog, and test your Armor Bonus/Attack Bonus/Hp Bonus to make sure they are working

  • Dialog Base
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Actions)
        • Loop - Actions
          • Unit - Add Attack (HARD) to (Picked unit)
          • Unit - Add Armor (HARD) to (Picked unit)
          • Unit - Add Max HP (HARD) to (Picked unit)
          • Unit - Remove Armor (NORMAL) from (Picked unit)
          • Unit - Remove Attack (NORMAL) from (Picked unit)
          • Unit - Remove Max HP (NORMAL) from (Picked unit)
          • Game - Display to (All players) for 10.00 seconds the text: (Test Mode: HARD)
2, if your skill is work, then I don't know what went wrong.

3, if your skill do not work, then there are two possible :

Possible A: something wrong with unit group ( try display message : picked unit's name to find out if it work correctly)
  • Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Actions)
Possible B: your skill not work.
 
Status
Not open for further replies.
Top