• 0

    posted a message on Trouble with Game Variants

    I hope you've fixed your issue by now but if not, it's a game variant causing your issue.

    Open your map, select Map > Game Variants > Attributes tab

    Don't set player colors/race, leave them as None/Unlocked. (I think this stops publishing issues)

    select Map > Game Variants > Game Type tab

    Don't set a Mode or a name for that mode. You can change the Category as you please.(This should stop your issue)

    Hope that helps.

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Showcase / Vote] What looks the best?

    Temple of Adun is getting my vote, the colors are awesome.

    Following Heat would be my second choice.

    Posted in: Terrain
  • 0

    posted a message on Map Test- Freezes at 90% loading

    Mine freezes at approximately 90% as well. It does this very rarely and I have to end task it. Mine had nothing to do with triggers or data because I've changed nothing when trying to re-load the same map and it loads up no problem.

    Does yours freeze every time?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Dialog button variables & conditions[Question]

    I just went and looked at my triggers again and that must have been the issue Wakeman because it's working now. Another issue I ran into was that the 2 buttons I was creating within the same Action Definition needed to each have their own "Dialog - Show (Last created dialog) for (All players)".

    I thought the 2 buttons were overlapping before I added a Show last created Dialog for each Button, only 1 button must have been being shown though.

    Thanks for your help guys.

    Posted in: Triggers
  • 0

    posted a message on Dialog button variables & conditions[Question]

    @LinkD: Go Here is my DialogButtons variable: DialogButtons = No Dialog Item <Dialog Item[2]>

    It is of Type: "Dialog Item" and is an Array with a size of 2.

    I don't know if there's anything wrong as far as the variable goes, I'm assuming not. I do however question my use of the condition within this trigger:

        Events
            Dialog - Any Dialog Item is used by Player Any Player with event type Clicked
        Local Variables
        Conditions
           ** (Used dialog item) == DialogButtons[2]**
        Actions
            Variable - Set LevelVarHard = 1
            Trigger - Stop all instances of Difficulty Selection Easy
    

    I don't know where this condition is located:

    Events
            Dialog - Any Dialog Item is used by Player Any Player with event type Clicked
        Local Variables
        Conditions
            **(Type of (Used dialog item)) == (Type of DialogButtons[1])**
        Actions
            ------- Ohhhh ACTION!
    
    Posted in: Triggers
  • 0

    posted a message on Dialog button variables & conditions[Question]

    Let me start off by posting my triggers and then explaining my issue(s).

    Here's my Action Definition called within my Map Initialization trigger:

            Dialog - Create a Modal dialog of size (200, 200) at (0, 0) relative to Center of screen
            Dialog - Create a button for dialog (Last created dialog) with the dimensions (200, 50) anchored to Center with an offset of (0, 0) setting the tooltip to "" with button text "Easy" and the hover image set to ""
            Variable - Set DialogButtons[1] = (Last created dialog)
            Dialog - Create a button for dialog (Last created dialog) with the dimensions (200, 50) anchored to Center with an offset of (0, 50) setting the tooltip to "" with button text "Hard" and the hover image set to ""
            Variable - Set DialogButtons[2] = (Last created dialog)
            Dialog - Show (Last created dialog) for (All players)
    

    Now here's my event that reacts to either Button(Easy, Hard) being clicked:

        Events
            Dialog - Any Dialog Item is used by Player 1 with event type Clicked
        Local Variables
        Conditions
            (Used dialog item) == DialogButtons[1]
        Actions
            Variable - Set LevelVarEasy = 1
            Trigger - Run Level 1 Easy  (Check Conditions, Don't Wait until it finishes)
    

    & Hard:

        Events
            Dialog - Any Dialog Item is used by Player Any Player with event type Clicked
        Local Variables
        Conditions
            (Used dialog item) == DialogButtons[2]
        Actions
            Variable - Set LevelVarHard = 1
            Trigger - Run Level 1 Hard  (Check Conditions, Don't Wait until it finishes)
    

    The issue I'm having is that when I press the "Easy" button in-game both Easy and Hard are triggered. And "Hard" does not even work. I don't know how to set the condition properly so that they act independently rather than as a group.

    Is my Action Definition incorrect? What condition should I be using?

    I've gotten this far thanks to the help of this thread: http://forums.sc2mapster.com/development/triggers/8103-dialog-button-help/

    Posted in: Triggers
  • To post a comment, please or register a new account.