• 0

    posted a message on WTF Does This Error Message Mean?
    "Scri: Trigger Error in 'gt_RaceSelection_Func': Could not get property from parameter in 'DialogControlGetPropertyAslnt' (value: 18)
         Near line 343 in gt_RaceSelection_Func() in MapScriptgalaxy"
    

    And it goes in that format with other things as well.

    What does it mean?

    TY in advance!

    Posted in: Triggers
  • 0

    posted a message on Please help with making a working voting system.

    Okay, I will try this out!

    Thank you very much!

    Posted in: Triggers
  • 0

    posted a message on Please help with making a working voting system.

    Please help, this is very troubling.

    Actually just don't bother to say what is wrong with my trigger, it would take too much time.

    Just please post the simplest way to a voting system that allows players to revote! This is what I am trying to do: Have a voting system where players can revote, and when they try to vote for a thing that you have already voted for, you will be displayed an error message.

    Thanks in advance!

    Posted in: Triggers
  • 0

    posted a message on Please help with making a working voting system.
    Race Selection Button Interaction
        Events
            Dialog - Any Dialog Item is used by Player Any Player with event type Clicked
            Dialog - Any Dialog Item is used by Player Any Player with event type Mouse Enter
            Dialog - Any Dialog Item is used by Player Any Player with event type Mouse Exit
        Local Variables
            x = 0 <Integer>
            y = 0 <Integer>
            selected = No Dialog Item <Dialog Item>
            EffectedBorder = No Dialog Item <Dialog Item>
            EffectedImage = No Dialog Item <Dialog Item>
        Conditions
        Actions
            Variable - Set p = (Triggering player)
            Variable - Set selected = (Used dialog item)
            Dialog - Set selected color to Yellow for (All players)
            General - For each integer x from 0 to 1 with increment 1, do (Actions)
                Actions
                    General - For each integer y from 0 to 0 with increment 1, do (Actions)
                        Actions
                            General - If (Conditions) then do (Actions) else do (Actions)
                                If
                                    selected == SelectionButton[x][y]
                                Then
                                    Variable - Set EffectedBorder = SelectionBorder[x][y]
                                    Variable - Set EffectedImage = SelectionImage[x][y]
                                Else
            General - Switch (Actions) depending on (Dialog item event type)
                Cases
                    General - If (Clicked)
                        Actions
                            General - If (Conditions) then do (Actions) else do (Actions)
                                If
                                    PlayerSelected[x][p] == 1
                                Then
                                    Dialog - Set SelectionBorder[0][0] color to White for (Player group(p))
                                    Dialog - Set SelectionBorder[1][0] color to White for (Player group(p))
                                    Dialog - Set EffectedBorder color to Green for (Player group(p))
                                    Dialog - Set SelectionImage[0][0] Desaturated flag to True for (Player group(p))
                                    Dialog - Set SelectionImage[1][0] Desaturated flag to True for (Player group(p))
                                    Dialog - Set EffectedImage Desaturated flag to False for (Player group(p))
                                    Variable - Set PlayerSelection[p] = EffectedImage
                                    Variable - Set PlayerSelected[(Abs((x - 1)))][p] = 1
                                    General - If (Conditions) then do (Actions) else do (Actions)
                                        If
                                            p <= 6
                                        Then
                                            Variable - Modify Vote Tally Team 1[x][y]: + (PlayerSelected[x][p] * 1)
                                        Else
                                    General - If (Conditions) then do (Actions) else do (Actions)
                                        If
                                            p >= 7
                                        Then
                                            Variable - Modify Vote Tally Team 2[x][y]: + (PlayerSelected[x][p] * 1)
                                        Else
                                Else
                            General - If (Conditions) then do (Actions) else do (Actions)
                                If
                                    PlayerSelected[x][p] == 0
                                Then
                                    UI - Display "YOU HAVE ALREADY VOTED FOR THIS RAC..." and play UI_BnetError for (Player group(p))
                                Else
                    General - If (Mouse Enter)
                        Actions
                            Dialog - Set EffectedImage Desaturated flag to False for (Player group(p))
                    General - If (Mouse Exit)
                        Actions
                            General - If (Conditions) then do (Actions) else do (Actions)
                                If
                                    EffectedImage != PlayerSelection[p]
                                Then
                                    Dialog - Set EffectedImage Desaturated flag to True for (Player group(p))
                                Else
                Default
            General - For each integer x from 0 to 1 with increment 1, do (Actions)
                Actions
                    General - For each integer y from 0 to 0 with increment 1, do (Actions)
                        Actions
                            General - If (Conditions) then do (Actions) else do (Actions)
                                If
                                    selected == SelectionButton[x][y]
                                Then
                                    Variable - Set EffectedBorder = SelectionBorder[x][y]
                                    Variable - Set EffectedImage = SelectionImage[x][y]
                                Else
    
    Posted in: Triggers
  • 0

    posted a message on Please help with making a working voting system.

    Hi, I am currently working on a project with Ice4smaster, but I ran into a problem: I cannot create a working voting system.

    I've got all the dialog stuff down, but what I need to do is make a voting system that displays the vote and that will make sure players cannot vote on the same dialog item. If you are going to say "go try it out yourself," I have. I can post screenshots if wanted on what my system is and maybe you guys could help me fix the problems? Or maybe just explain to me a working one.

    Trigger ScreenshotTriggerscreenshot 2Trigger Screenshot 3Trigger Screenshot 4Trigger Screenshot 5Dialog Screenshot

    Thanks in advance!

    Posted in: Triggers
  • 0

    posted a message on How do you import images into the editor?

    So I am making a custom dialog, and I just want to know how do you import images in there?

    Is there a file? If so, where is it located?

    How do you convert it into .dds? Are there any converters availiable?

    Thanks in advance!

    Posted in: Miscellaneous Development
  • 0

    posted a message on If Pacman was remade, what would you want for it to have?

    Ideas so far:

    -6 Characters: Ghost, Spectre, High Templar, Sentry, Infestor, and Queen.

    -Abilities: Still in progress.

    -Random map generator: Still in progress.

    -Powerups: Ammo, Energy refill, Extra life, Bonus points, Speed boost, Cooldown nullifier, and Point defense Drone

    -Enemies:

    -Bosses

    -Shooters

    -Reincarnated People who lost all lives

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on If Pacman was remade, what would you want for it to have?

    I'm thinking of making a multiplayer version, and I'm just wondering.

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on Editing out half a model?

    So I am making a game similar to Robokill, where it is a third person shooter and in that game, you control the legs and the aiming separately, meaning that you can fire while moving, your legs and your seapons can face opposite directions. I know this sounds confusing, so if it is confusing to you, search it up, it is a free Internet game. To accomplish that system, I want to make the legs a separate unit from the head/guns, but to accomplish that, I'd have to separate the halves of the model. How would I do this?

    TY in advance.

    Posted in: Data
  • 0

    posted a message on This is what online harassment looks like

    Hmmmmm... those harassers are just stupid... They really think that putting in a few insults and a video game will stop her? They clearly don't know that their plan is backfiring because not only will they gain her more publicity and support, but also make her determined to do whatever she can to get women more rights.

    After all, what doesn't kill you makes you stronger...

    And if they think that women are so bad, then they are technically worse, because women never did that to us, even though they didn't have a chance, they probably wouldn't have anyways...

    Posted in: Off-Topic
  • 0

    posted a message on how do you take a screenshot?

    There is no print screen button on macs, if you have a mac, simply hit command + shift + 3, and it will automatically save your screenshot to the desktop. If you want to take screenshots of certain areas of your screen hit command + shift + 4, and use your cursor to make a box around the desired area...

    Happy 4th of July!

    Posted in: General Chat
  • 0

    posted a message on Stopping Change in Height after Triggered

    Use the turn trigger off action, and replace current trigger with whatever trigger has the height increase.

    Posted in: Triggers
  • 0

    posted a message on How to make a watchtower that provides vision of another area

    In the Data editor, edit the Xel'Naga's sight radius to 0, then make a trigger like this, you should copy the actions for every other player that you have and fill in the correct values, the actions may not exactly be correct, because I'm typing this from memory, but you probably know what I mean:

    Events Any Unit Enters Within 2.0 Of Xel'Naga Tower (30, 100)
    Local Variables
    Conditions
    Actions
         If (Condtions) Then (Actions) Else (Actions)
              If
                   (Owner of (Triggering Unit)) = Player 1
             Then
                  Wait 1.0 Game Seconds
                  Show Example Region For Player 1
            Else
                  Hide Example Region For Player 1
    
    Posted in: Triggers
  • 0

    posted a message on [Solved]Unit Attack Angle(Flightsim)

    It has to be done in Data editor.

    Posted in: Triggers
  • 0

    posted a message on Need help with unit spawning (Extreme noooooob)

    Well, hopefully this is n00b friendly, but here we go. Note that some of the conditions may not be correct, because I'm using my iPad and I don't have my computer with me, and I don't have that great of a memory, so yeah:

    Events
    Every 3.0 Seconds
    Local Variables
    Conditions
    Actions
         General - If (Conditions) Then (Actions) Else (Actions)
              If
                  Bunker (0,50) Is Alive = True
                  Player 1 has left = False
              Then
                   Create 1 Marine At Spawning Point For Player 1 Facing 270 Degrees (No Options)
              Else
                   End Game In Defeat For Player 1
    

    Copy/Paste this for every player and fill in the correct values.

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