Home   Help Search Login Register  

Author Topic: Triggers.  (Read 448 times)

0 Members and 1 Guest are viewing this topic.

Olphy

  • Guest
Triggers.
« on: 21 May 2004, 13:09:28 »
Hi.

I want to make a Trigger deactivate when a certain person leaves it.

For example.

I am making a boundary for my mission where after 10 seconds, if the person in the trigger is still in the trigger then I want to mission to fail. But if they leave I want to the end 1 trigger to deactivate. Thus not ending the mission.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Triggers.
« Reply #1 on: 21 May 2004, 19:37:04 »
I think in this case the timeout feature works (not 100% sure though):

Set the trigger to be activated by the side you want it to.
Set the trigger to repeatedly.
Timeout to 10/10/10.

Then in the condition field
unitNameYouWantToTriggerTheTrigger in thislist

in the on act. field
forceEnd

As said, not 100% sure so no guarantees... :P
« Last Edit: 21 May 2004, 19:38:30 by HateR_Kint »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Triggers.
« Reply #2 on: 21 May 2004, 20:13:11 »
Make a trigger, and then "group" the unit in question to the trigger.

Open up the trigger, and now you should have new 'activation' options:

vehicle - trigger activated by the person grouped to the trigger
whole group - activated only by EVERYONE in the person's group who is grouped to the trigger
any member of group - activated by ANYONE in the person's group

I think that's it. Set it to "vehicle", and then click "not present". Now select 'timeout' like HateR_Kint said, and set the time to 10/10/10. However, leave the 'condition' field as "this". "Timeout" means exactly what you want: once the trigger is activated, after 10 seconds, if the trigger is still activated, the trigger will fire. "Countdown" means that once the trigger is activated, after 10 seconds the trigger will fire, regardless of whether or not it is still activated.

HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Olphy

  • Guest
Re:Triggers.
« Reply #3 on: 21 May 2004, 20:50:24 »
Sounds good boys. Thanks.