1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Dismiss Notice
  5. The Highway to Hell has been laid open. Come along and participate in the 5th Special Effect Contest.
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

DIalog Problem

Discussion in 'Map Development' started by Dracula, Sep 30, 2005.

  1. Dracula

    Dracula

    Joined:
    Jun 26, 2005
    Messages:
    511
    Resources:
    1
    Maps:
    1
    Resources:
    1
    i wanted to make a dialog for my map so i did this...

    1st trigger:
    EVENTS
    time-elapsed game time is 1 seconds
    CONDITIONS
    ACTIONS
    dialog-create a dialog button for Easy(a variable) labelled Easy(title)
    dialong-create a dialog button for Normal labelled Normal

    Next trigger:
    EVENTS
    dialog-a dialog button is clicked for Easy
    CONDITIONS
    ACTIONS
    unit group-pick every unit in units owned by player 12 and do unit-set life of picked unit to 50%

    Then i did the normal trigger set life 100% but the dialog didnt show up on my make when the game started :( :(
     
  2. JetPack

    JetPack

    Joined:
    Nov 21, 2004
    Messages:
    78
    Resources:
    0
    Resources:
    0
    Here's one I used in a map...I called the dialog buttons b1, b2, etc. The dialog menu is called dmenu1.

    Code (Text):
    Events: Time - Elapsed game time is 0.10 seconds
    Conditions: (Whatever you want)
    Actions:
    Dialog - Change the title of dmenu to Menu
    Dialog - Create a dialog button for dmenu labelled choice1
    Set b1 = (Last created dialog Button)
    Dialog - Create a dialog button for dmenu labelled choice2
    Set b2 = (Last created dialog Button)
    (continue the last two for however many you need)
    Dialog - Show dmenu1 for Player 1 (Red)
     
    You're other trigger should work fine, you're dialog creating one is the faulty one.
     
  3. Neltharius

    Neltharius

    Joined:
    Aug 18, 2005
    Messages:
    45
    Resources:
    0
    Resources:
    0
    The thing is rather simple... you've just forgot to use the Dialog - Show Dialog correctly. Also don't forget to clear it before.