Home   Help Search Login Register  

Author Topic: How do I remove a trigger during a game?  (Read 948 times)

0 Members and 1 Guest are viewing this topic.

aazell

  • Guest
How do I remove a trigger during a game?
« on: 15 Jul 2003, 03:00:15 »
Hi

I've got a radar set up on my mission and I want to deactivate the radar trigger when the teams boat are destroyed.

How can I do this?

I've tried using triggername = null but that doesn't work.

aaz

MPKING

  • Guest
Re:How do I remove a trigger during a game?
« Reply #1 on: 15 Jul 2003, 07:28:20 »
If you don't need the trigger again, you can make another trigger and type in activation field "deleteVehicle triggername" without the quote's.

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:How do I remove a trigger during a game?
« Reply #2 on: 15 Jul 2003, 09:37:50 »
...or you could just throw this onto the end of your trigger's condition field:

...and (alive boat)

So when boat is destroyed, the trigger will de-activate (or not activate... however you want to look at it ;)).

No need to muck around trying to delete triggers or anything like that...

MPKING

  • Guest
Re:How do I remove a trigger during a game?
« Reply #3 on: 15 Jul 2003, 10:10:48 »
lol.. i guess that's the clever way to do it. ::)

aazell

  • Guest
Re:How do I remove a trigger during a game?
« Reply #4 on: 15 Jul 2003, 11:14:16 »
Thanks Guys. All very helpful.
I tried delete vehicle and it doesn't seem to work for triggers.
I'll try Sui's way.
aaz