Home   Help Search Login Register  

Author Topic: Mission ends when all triggers are tripped  (Read 445 times)

0 Members and 1 Guest are viewing this topic.

Ice Man 3:16

  • Guest
Mission ends when all triggers are tripped
« on: 30 Apr 2004, 00:23:21 »
I'm working on another mission.  This mission you have to locate a few hidden objects in a town.  Each object has a small trigger above it so when you get close to the object it tripps the trigger.  What i need to know is how to set it up so after all the triggers are tripped it makes a end game trigger active so it can be tripped.  The end game trigger will be back at the base and you will have to trip it for the game to end.

thanks in advance.

Offline Wadmann

  • OFPEC Patron
  • ****
  • I'm the next evolutionary step after a llama!
Re:Mission ends when all triggers are tripped
« Reply #1 on: 30 Apr 2004, 01:10:01 »
I would use variables that are set to true with the activation of each trigger the for the end trigger you would use the condition field and specify that all prior variables are true before activating the last trigger. Something like this:

Name - Trigger1
West (or whatever) Present
Activation - Obj1=true

Name - Trigger2
West (or whatever) Present
Activation - Obj2=true

...and so on for the triggers over objects.

Then for the final trigger:

West (or whatever) Present Group this trigger to the player w/F2
Cond - this and obj1 and obj2 and ...
Act - Whatever

As usual, this is posted from work so check my commands and syntax but this should get you going in the right direction.

                                                                                Wadmann
Check out my Camouflage Collection! New items added 31 July 2005.

Ice Man 3:16

  • Guest
Re:Mission ends when all triggers are tripped
« Reply #2 on: 30 Apr 2004, 02:51:16 »
sweet! it works!

thanks so much man

cheers :cheers: