Need help dialog

Vitriolic

New Member
Reaction score
0
I havent made a dialog before but i need it for my new map and i cant seem to find the problem with the trigger i have added...well in game both of the Buttons appear i click Free Free For All nothing happens and the Custom button i havent even made :s
Code:
*GAME TYPE* 

Event - Time Elapsed 1.00 seconds.
Condition - 
Actions - Dialog - Change the title of Dialog to Choose Game type!
             Dialog - Create a dialog button for Dialog labelled Free For All
             Dialog - Create a dialog button for Dialog labelled Custom
             Dialog - Show Dialog for Player 1 (Red)
             Set FreeForAll = FreeForAll
             Set Custom = Custom

Code:
*FFA CLICK*
-Events,Dialog - A dialog button is clicked for Dialog
-Conditions, (Clicked dialog button) Equal to FreeForAll
-Actions, Trigger - Player Group - Make (All players) treat (All players) as an Enemy
                    Game - Display to (All players) the text: |cffffff33Free For ...
 

Vitriolic

New Member
Reaction score
0
I have tried
Code:
Set FreeForAll = (Last created dialog Button)
but the trigger still will not work

But if i do that above -^ and disable
Code:
Dialog - Create a dialog button for Dialog labelled Custom & Set Custom = (Last created dialog Button)
it worked... but i cant manage with 1 button i need 2.....
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Um...

Dialog - Create a dialog button for Dialog labelled Free For All
Set FreeForAll = (Last created dialog button)
Dialog - Create a dialog button for Dialog labelled Custom
Set Custom = (Last created dialog button)
 

vypur85

Hibernate
Reaction score
803
Code:
Event - 
 Time Elapsed 1.00 seconds.
Condition - 
Actions - 
 Dialog - Change the title of Dialog to Choose Game type!
 Dialog - Create a dialog button for Dialog labelled Free For All
 [B]Set FreeForAll = (Last created dialog button)[/B]
 Dialog - Create a dialog button for Dialog labelled Custom
 [B]Set Custom = (Last created dialog button)[/B]
 Dialog - Show Dialog for Player 1 (Red)

Code:
Events
 Dialog - A dialog button is clicked for Dialog
Conditions
Actions
 If then else actions
   Condition
      (Clicked dialog button) Equal to [B]FreeForAll[/B]
   Then
      -Do your stuff-
 If then else actions
   Condition
      (Clicked dialog button) Equal to [B]Custom[/B]
   Then
      -Do your stuff-

Something like the above.
 

holyranger

New Member
Reaction score
0
Dialog Button Hero Specc. Help

I need some help too. My triggers starts with

Events-A unit enters Region 001 <gen>

When this unit enters to that hero circle, it creates a paladin. I need a dialog to appear which makes the user available of choosing spec.: Hero/Protection.
 

Extremedesyr

New Member
Reaction score
6
I'm having some strange issue, i've got 2 dialogs in the beginning of my map, one that allowes you to choose diffculty and then I want another to pop up when a diffculty is chosen, however, the second dialog doesnt work @ all

Trigger:
  • Dialog Initialization
    • Events
      • Time - Elapsed game time is 0.10 seconds
    • Conditions
    • Actions
      • Dialog - Clear GenericDialog[1]
      • Dialog - Create a dialog button for GenericDialog[1] labelled (CC_Color_Extra[1] + (Easy + CC_Endtag))
      • Set Dialogbuttons[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[1] labelled (CC_Color_Extra[1] + (Normal + CC_Endtag))
      • Set Dialogbuttons[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[1] labelled (CC_Color_Extra[1] + (Hard + CC_Endtag))
      • Set Dialogbuttons[3] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[1] labelled (CC_Color_Extra[1] + (Impossible + CC_Endtag))
      • Set Dialogbuttons[4] = (Last created dialog Button)
      • Dialog - Change the title of GenericDialog[1] to Difficulty
      • Dialog - Show GenericDialog[1] for Player 1 (Red)
      • Dialog - Clear GenericDialog[2]
      • Dialog - Create a dialog button for GenericDialog[2] labelled (CC_Color_Extra[1] + (Melee (+Strength and +Agility bonuses) + CC_Endtag))
      • Set Dialogbuttons[5] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[2] labelled (CC_Color_Extra[1] + (Ranged (Agility and Ranged attack bonuses) + CC_Endtag))
      • Set Dialogbuttons[6] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[2] labelled (CC_Color_Extra[1] + (Magic (Intellect and spell damage bonuses) + CC_Endtag))
      • Set Dialogbuttons[7] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[2] labelled (CC_Color_Extra[1] + (Stealth (Agility bonuses and Stealth ability) + CC_Endtag))
      • Set Dialogbuttons[8] = (Last created dialog Button)
      • Dialog - Change the title of GenericDialog[2] to Which hero-type wou...
      • Dialog - Hide GenericDialog[2] for Player 1 (Red)
      • Dialog - Clear GenericDialog[3]
      • Dialog - Create a dialog button for GenericDialog[3] labelled (CC_Colour[1] + (To Elwynn Forest - 30g + CC_Endtag))
      • Set DialogbuttonsShip[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[3] labelled (CC_Colour[1] + (To Dun Morogh - 30g + CC_Endtag))
      • Set DialogbuttonsShip[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[3] labelled (CC_Colour[1] + (To Azuremyst Isle - 30g + CC_Endtag))
      • Set DialogbuttonsShip[3] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[3] labelled (CC_Colour[1] + (To Teldrassil - 30g + CC_Endtag))
      • Set DialogbuttonsShip[4] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[3] labelled (CC_Colour[1] + (To Stormwind City - 45g + CC_Endtag))
      • Set DialogbuttonsShip[5] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[3] labelled (CC_Colour[1] + (To Ironforge - 45g + CC_Endtag))
      • Set DialogbuttonsShip[6] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[3] labelled (CC_Colour[1] + (To Exodar - 45g + CC_Endtag))
      • Set DialogbuttonsShip[7] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[3] labelled (CC_Colour[1] + (To Darnassus - 45g + CC_Endtag))
      • Set DialogbuttonsShip[8] = (Last created dialog Button)
      • Dialog - Change the title of GenericDialog[3] to Arr, Where do you w...
      • Dialog - Clear GenericDialog[4]
      • Dialog - Create a dialog button for GenericDialog[4] labelled (CC_Colour[1] + (To Tirisfal Glades - 30g + CC_Endtag))
      • Set DialogButtonsZeppelin[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[4] labelled (CC_Colour[1] + (To Eversong Woods - 30g + CC_Endtag))
      • Set DialogButtonsZeppelin[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[4] labelled (CC_Colour[1] + (To Durotar - 30g + CC_Endtag))
      • Set DialogButtonsZeppelin[3] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[4] labelled (CC_Colour[1] + (To Mulgore - 30g + CC_Endtag))
      • Set DialogButtonsZeppelin[4] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[4] labelled (CC_Colour[1] + (To The Undercity - 45g + CC_Endtag))
      • Set DialogButtonsZeppelin[5] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[4] labelled (CC_Colour[1] + (To Silvermoon City - 45g + CC_Endtag))
      • Set DialogButtonsZeppelin[6] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[4] labelled (CC_Colour[1] + (To Orgimmar - 45g + CC_Endtag))
      • Set DialogButtonsZeppelin[7] = (Last created dialog Button)
      • Dialog - Create a dialog button for GenericDialog[4] labelled (CC_Colour[1] + (To Thunder Bluff - 45g + CC_Endtag))
      • Set DialogButtonsZeppelin[8] = (Last created dialog Button)
      • Dialog - Change the title of GenericDialog[4] to Where do you wish t...


Trigger:
  • Enter Game
    • Events
      • Dialog - A dialog button is clicked for GenericDialog[1]
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Clicked dialog button) Equal to Dialogbuttons[1]
        • Then - Actions
          • Dialog - Clear GenericDialog[1]
          • Dialog - Hide GenericDialog[1] for (Triggering player)
          • Player Group - Pick every player in (All enemies of Player 1 (Red)) and do (Player - Set (Picked player) handicap to 65.00%)
          • Player - Set Player 1 (Red) Current gold to 450
          • Set DiffcultyChosen = 1
          • Unit - Create 1 Hero (Easy) for Player 1 (Red) at (Position of Circle of Power 0005 &lt;gen&gt;) facing 90.00 degrees
          • Set HeroChosen = (Last created unit)
          • Special Effect - Create a special effect attached to the orgin of HeroChosen using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
          • Hero - Create BroadAxe and give it to (Last created unit)
          • Trigger - Run Lock Camera &lt;gen&gt; (ignoring conditions)
          • Trigger - Run Hero Easy &lt;gen&gt; (ignoring conditions)
          • Trigger - Turn on Hero Easy &lt;gen&gt;
          • Dialog - Show GenericDialog[2] for Player 1 (Red)
          • Trigger - Turn off (This trigger)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Clicked dialog button) Equal to Dialogbuttons[2]
            • Then - Actions
              • Dialog - Clear GenericDialog[1]
              • Dialog - Hide GenericDialog[1] for (Triggering player)
              • Player Group - Pick every player in (All enemies of Player 1 (Red)) and do (Player - Set (Picked player) handicap to 80.00%)
              • Player - Set Player 1 (Red) Current gold to 550
              • Set DiffcultyChosen = 2
              • Unit - Create 1 Hero (Medium) for Player 1 (Red) at (Position of Circle of Power 0005 &lt;gen&gt;) facing 90.00 degrees
              • Set HeroChosen = (Last created unit)
              • Special Effect - Create a special effect attached to the orgin of HeroChosen using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
              • Hero - Create BroadAxe and give it to (Last created unit)
              • Trigger - Run Lock Camera &lt;gen&gt; (ignoring conditions)
              • Trigger - Run Hero Medium &lt;gen&gt; (ignoring conditions)
              • Trigger - Turn on Hero Medium &lt;gen&gt;
              • Dialog - Show GenericDialog[2] for Player 1 (Red)
              • Trigger - Turn off (This trigger)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Clicked dialog button) Equal to Dialogbuttons[3]
                • Then - Actions
                  • Dialog - Clear GenericDialog[1]
                  • Dialog - Hide GenericDialog[1] for (Triggering player)
                  • Player Group - Pick every player in (All enemies of Player 1 (Red)) and do (Player - Set (Picked player) handicap to 95.00%)
                  • Player - Set Player 1 (Red) Current gold to 650
                  • Set DiffcultyChosen = 3
                  • Unit - Create 1 Hero (Hard) for Player 1 (Red) at (Position of Circle of Power 0005 &lt;gen&gt;) facing 90.00 degrees
                  • Set HeroChosen = (Last created unit)
                  • Special Effect - Create a special effect attached to the orgin of HeroChosen using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
                  • Hero - Create BroadAxe and give it to (Last created unit)
                  • Trigger - Run Lock Camera &lt;gen&gt; (ignoring conditions)
                  • Trigger - Run Hero Hard &lt;gen&gt; (ignoring conditions)
                  • Trigger - Turn on Hero Hard &lt;gen&gt;
                  • Dialog - Show GenericDialog[2] for Player 1 (Red)
                  • Trigger - Turn off (This trigger)
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Clicked dialog button) Equal to Dialogbuttons[4]
                    • Then - Actions
                      • Dialog - Clear GenericDialog[1]
                      • Dialog - Hide GenericDialog[1] for (Triggering player)
                      • Player Group - Pick every player in (All enemies of Player 1 (Red)) and do (Player - Set (Picked player) handicap to 110.00%)
                      • Player - Set Player 1 (Red) Current gold to 750
                      • Set DiffcultyChosen = 4
                      • Unit - Create 1 Hero (Hard) for Player 1 (Red) at (Position of Circle of Power 0005 &lt;gen&gt;) facing 90.00 degrees
                      • Set HeroChosen = (Last created unit)
                      • Special Effect - Create a special effect attached to the chest of HeroChosen using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
                      • Hero - Create BroadAxe and give it to (Last created unit)
                      • Trigger - Run Lock Camera &lt;gen&gt; (ignoring conditions)
                      • Trigger - Run Hero Impossible &lt;gen&gt; (ignoring conditions)
                      • Trigger - Turn on Hero Impossible &lt;gen&gt;
                      • Dialog - Show GenericDialog[2] for Player 1 (Red)
                      • Trigger - Turn off (This trigger)
                    • Else - Actions
                      • Trigger - Turn off (This trigger)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top