PDA

View Full Version : Switches with Countdown?


SuiCidAl-KiSmEt
08-26-2005, 9:00 PM
Im making a new game, a Cat 'n' Mouse Game, unlike the other versions itl be more balanced and have some new stuff in it. Anyways this trigger doesn't work, I just... dont know what else to do with this one.

##Switch 1
Action:
-Countdown Timer is at least 0 game secounds
-Player 8 is brings 1 Chooser to Blind Mice
Condition:
-Turn 'off' shared vision for player 1
-Turn 'off' shared vision for player 2
-Turn 'off' shared vision for player 3
-Turn 'off' shared vision for player 4
-Turn 'off' shared vision for player 5
-Turn 'off' shared vision for player 6
-Set Countdown timer to 30 game secounds
-Set Switch 2
-Preserve Trigger

((Then after 30 secounds the mouse players should have their vision back.))

##Switch 2
Action:
-Switch 1 is set
-Countdown timer is at least 30 game secounds (I also tried; at least 1 game secound)
Condition:
-Clear switch 1
-Turn 'On' shared vision for player 1
-Turn 'On' shared vision for player 2
-Turn 'On' shared vision for player 3
-Turn 'On' shared vision for player 4
-Turn 'On' shared vision for player 5
-Turn 'On' shared vision for player 6
-Turn 'On' shared vision for player 7
-clear switch 2
-Preserve Trigger

##I also made a trigger to remove chooser when it goes to the location
Ok for some reason that doesn't work. I suck at these 'Switches' triggers becouse most of the maps I made with switches goes horribly wrong.

In the game the mice players do lose their vision. But after the 30 secounds, nothing happens, they just lost their vision forever.

Case_in_point
08-26-2005, 10:52 PM
Im making a new game, a Cat 'n' Mouse Game, unlike the other versions itl be more balanced and have some new stuff in it. Anyways this trigger doesn't work, I just... dont know what else to do with this one.

##Switch 1
Action:
-Countdown Timer is at least 0 game secounds
-Player 8 is brings 1 Chooser to Blind Mice
Condition:
-Turn 'off' shared vision for player 1
-Turn 'off' shared vision for player 2
-Turn 'off' shared vision for player 3
-Turn 'off' shared vision for player 4
-Turn 'off' shared vision for player 5
-Turn 'off' shared vision for player 6
-Set Countdown timer to 30 game secounds
-Set Switch 2
-Preserve Trigger

((Then after 30 secounds the mouse players should have their vision back.))

##Switch 2
Action:
-Switch 1 is set
-Countdown timer is at least 30 game secounds (I also tried; at least 1 game secound)
Condition:
-Clear switch 1
-Turn 'On' shared vision for player 1
-Turn 'On' shared vision for player 2
-Turn 'On' shared vision for player 3
-Turn 'On' shared vision for player 4
-Turn 'On' shared vision for player 5
-Turn 'On' shared vision for player 6
-Turn 'On' shared vision for player 7
-clear switch 2
-Preserve Trigger

##I also made a trigger to remove chooser when it goes to the location
Ok for some reason that doesn't work. I suck at these 'Switches' triggers becouse most of the maps I made with switches goes horribly wrong.

In the game the mice players do lose their vision. But after the 30 secounds, nothing happens, they just lost their vision forever.



You don't need Switch 2. And the reason it isn't working is because your condition for the second trigger is 'Switch 1 is set', but you never actually set Switch 1.


TRIGGER 1
Action:
-Countdown Timer is at least 0 game secounds
-Player 8 is brings 1 Chooser to Blind Mice
Condition:
-Turn 'off' shared vision for player 1
-Turn 'off' shared vision for player 2
-Turn 'off' shared vision for player 3
-Turn 'off' shared vision for player 4
-Turn 'off' shared vision for player 5
-Turn 'off' shared vision for player 6
-Set Countdown timer to 30 game secounds
-Set Switch 1
-Preserve Trigger



TRIGGER 2
Action:
-Switch 1 is set
-Countdown timer is at least 30 game secounds
Condition:
-Clear switch 1
-Turn 'On' shared vision for player 1
-Turn 'On' shared vision for player 2
-Turn 'On' shared vision for player 3
-Turn 'On' shared vision for player 4
-Turn 'On' shared vision for player 5
-Turn 'On' shared vision for player 6
-Turn 'On' shared vision for player 7
-Preserve Trigger


I believe that will work. Try it out.

SuiCidAl-KiSmEt
08-27-2005, 12:03 PM
OOO, THANKS!... But it doesnt work. I did word for word but and recheck what you said, but players 1-6 vision doesn't return.

Fronter
08-27-2005, 4:02 PM
That is because the first trigger is still in effect, you never stopped it, and as long as it is going, it will nullify the second trigger's vision. Because the first one is kept going, there is no Switch to stop it. If you would put in another Switch, and activate it, the put it in the first original trigger, then clear it on the second, then it should work.

Plus, it is Conditions, then Actions, not Actions then Conditions. That is not a problem with your trigger, you just said it the wrong way.

SuiCidAl-KiSmEt
08-27-2005, 8:58 PM
Ya, I just spelled it in the wrong place. I was in a hurry.

Well, I was looking in a blizzard map (Disperate Alliance) from the Install.exe. And I look how they did countdown timmers, I look for the trigger with the Victory trigger in it. And the Condition was 'Countdown Timer is at Most '0' game secounds'. So I did that with my map and It work.