OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: aazell 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
-
If you don't need the trigger again, you can make another trigger and type in activation field "deleteVehicle triggername" without the quote's.
-
...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...
-
lol.. i guess that's the clever way to do it. ::)
-
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