Dialog Help

ryerye1996

Cool Member
Reaction score
5
I Created a dialog and it shows the buttons but it doesnt work. Here is the trigger:
Trigger:
  • Dialog
    • Events
      • Unit - A unit enters Gate <gen>
    • Conditions
    • Actions
      • Dialog - Clear Gate
      • Dialog - Change the title of Gate to Do You Want To Ente...
      • Dialog - Create a dialog button for Gate labelled Enter Al Kaharid. (...
      • Set Yes_Pay = (Last created dialog Button)
      • Dialog - Create a dialog button for Gate labelled No, I'll Walk Aroun...
      • Set NoWalk = (Last created dialog Button)
      • Dialog - Show Gate for (Owner of (Entering unit))


Trigger:
  • Yes pay 10 gold
    • Events
      • Dialog - A dialog button is clicked for Gate
    • Conditions
      • (Clicked dialog button) Equal to Yes_Pay
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Owner of (Triggering unit)) Current gold) Greater than or equal to 10
        • Then - Actions
          • Unit - Move (Triggering unit) instantly to (Center of Gate End <gen>)
          • Player - Add -10 to (Owner of (Triggering unit)) Current gold
        • Else - Actions
          • Game - Display to (All players controlled by a ((Owner of (Triggering unit)) controller) player) the text: You Do Not Have Enough Gold!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top