• 0

    posted a message on Check box/Variable triggering not working (Math Scripting?)

    @MasterWrath: Go

    I am using a global variable. I will switch the dialogue save data but the checkbox is working fine. I have the camera shake and the chat say hi when it is checked or unchecked to test this. But my global zombie variable isn't working even though the trigger is working.

    Posted in: Triggers
  • 0

    posted a message on Check box/Variable triggering not working (Math Scripting?)

    Did more testing, I don't think the variable is changing to what I told it to change to. Data tables won't replace variables so i'm stuck.

    Posted in: Triggers
  • 0

    posted a message on Check box/Variable triggering not working (Math Scripting?)

    Also, I have a second trigger with zombiechecked ==1 condition that adds an ai in, which also hasn't been working since i added the condition and the variable changing.

    Posted in: Triggers
  • 0

    posted a message on Check box/Variable triggering not working (Math Scripting?)

    Hi. So I built a map and it is a zombie attack game on Whirlwind LE. When units die they respawn as zombies later. In the beginning I have a settings dialogue that appears with a check box to change settings and a finished button. (I will be adding more than one check box once I have the ability to do so) I added the data tables for all of the items, the close window button, the check box, and the dialogue. Here is a picture of my melee bootup scripting. (I am new in Starcraft Editor so some of this might have been done the wrong way) Melee Initialization The dialogues are stored in a data table for later use and detection. So then i have to detect the check box. I created 2 triggers to change a global variable that controls the check box effect: Control Excuse the bad arrows. They just mean I made 2 of those triggers just reversed the arrowed 1s and 0s 0 now means unchecked and 1 means checked, right? I don't think the variable setting is working. Not sure, but in a test the map's zombie ai and spawning worked when the variables conditions were removed. Either its the variable conditions in the image below or the variable changing in the image above. Here is my zombie respawn script. (This code worked before check box so it has to be the variables or conditions) Scripting The math is not working out. But it makes sense. When zombiechecked variable == 1 let the variable work. It doesn't work though. Any help would be appreciated and I am going insane trying to fix this. Thanks for your time.

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