OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Yasirotta on 10 Aug 2008, 20:36:36
-
If i have trigger for one guy, and one script for other using distance commands. So if these guys gets killed, how i can disable their triggers or scripts ?
-
It depends how you do it. If you use a trigger then there shouldn't be a problem if it's activated on present, if it's not present then you could put in the init field:
this && man1 aliveIf it's a repeating script, then you could simply put a breaker at one or multiple places (depending on how many times it loops). eg.
?!(man1 alive):exit
Should do the trick, if it's neither of these then you will need to explain further. These may not actually work, but should do ;)
-=GC=-Fungus1999
-
Yeah, seems that it does it.