Help with triggers.....

S

someguy36

I dont know what i am doing wrong ... this map was working .. then all of a sudden it wont start ... the problem is at the beginning of the game... i put a trigger in for level 1 to start when the countdown timer gets to 2 game seconds ... it was working fine until today ... I tried to play the map and nothing happens when the countdown timer reaches 2 or any number for that matter.... I have tried moving the trigger to "all players" also to force1 which in this is "the crew" .. .if anyone has the time to take a look at my triggers and let me know if I am doing anything wrong .. that would be great... I have the map linked via ftp server.... I played this map successfully on bnet for the last week and all of a sudden it does this .. :(

ftp://68.148.26.202/Bunker-Turret-Def-Stack.scm
 

eX-reaver

BattleForums Junior Member
Joined
Jan 23, 2004
Messages
117
Reaction score
0
Location
Australia,N.S.W
Website
www.I RULE.com
Ill help you with the triggering and ill have a answer back to you by tomorow if thats ok with you and the link isnt working so upload the map ok
 
S

someguy36

thanks for the respons guys.. i found the prob.. it was with the first triggers i have in the map .. and it was working fine the way i have it here .. but all of a sudden it stopped working.. (would not set switch 1)

first trigger...

Condition - always
Action - wait 15000ms
- set coundown timer to 120 seconds

second trigger...

Condition - countdown timer is "exactly" 2 game seconds
Action - set switch 1

now i could not use "at most" or "at least" in the second trigger because if i did .. it would set switch 1 right away, before the countdown timer even starts... and i realized it is because of the wait 15000ms command in the first trigger... so i took that out and i am now able to use "at most" in the second trigger.. and it sets switch 1 when it is supposed to ...:)
 

ShaftedTwice

BattleForums Senior Member
Joined
Sep 17, 2003
Messages
1,586
Reaction score
1
So, is it working now? And everythings ok?

ShaftedTwice
 
S

someguy36

ya .. its all working good now that i took out the wait ... thanx for responding ...
 

Bolt Head

Member!
Joined
May 20, 2003
Messages
1,194
Reaction score
0
Website
www.shadowfortress.net

first trigger...

Condition - always
Action - wait 15000ms
- set coundown timer to 120 seconds

I know you fixed your problem but change this trigger to

Conditions:
-Elsapled time is at least 15 seconds
Actions
-Set countdown timer to 120 seconds


The way you had it can cause many errors and is just bad practice.
 

Tuxedo Templar

Member!
Joined
Aug 15, 2003
Messages
237
Reaction score
0
Location
Here!
Website
Visit site
Agreed. Here's the full set you would use:

Conditions:
- Elapsed scenario time is at least 15 seconds
Actions:
- Set countdown time to 120 seconds
- Set switch "Countdown"

Conditions:
- "Countdown" is set
- Countdown timer is at most 2 seconds.
Actions:
- Do whatever.
 
S

someguy36

i will change that ... it looks like a better set up ... thnx guys ...
 

New threads

Top