Home   Help Search Login Register  

Author Topic: Disable trigger, or script ?  (Read 1008 times)

0 Members and 1 Guest are viewing this topic.

Offline Yasirotta

  • Members
  • *
Disable trigger, or script ?
« 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 ?

Offline Gcfungus

  • Members
  • *
Re: Disable trigger, or script ?
« Reply #1 on: 10 Aug 2008, 22:05:17 »
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:
Code: [Select]
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.
Code: [Select]
?!(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
The object of war is not to die for your country, but to make the other bastard die for his.
~George Patton

Offline Yasirotta

  • Members
  • *
Re: Disable trigger, or script ?
« Reply #2 on: 10 Aug 2008, 22:20:44 »
Yeah, seems that it does it.
« Last Edit: 10 Aug 2008, 22:22:47 by Yasirotta »