Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Trigger to end the mission once a tank is blown up  (Read 945 times)

0 Members and 1 Guest are viewing this topic.

Ice84

  • Guest
Trigger to end the mission once a tank is blown up
« on: 03 Jul 2006, 20:00:12 »
Hey all, soz its me again, just one more thing quickly before you throw the noob sticks at me;
I have a black op guy who has destroyed a tank being serviced (player controlled); once the tank is knocked out I need him to retreat to the woods into
a trigger that ends the mission once he enters the trigger radius, but that it will only end the mission if the tank is knocked out (i.e if he took a detour and wandered into the trigger it wont end the mission unless the tank is destroyed).

Anyone know?? ??? ???

Many thanks!!

Offline Seven

  • Members
  • *
  • Am I a llama?
Re: Trigger to end the mission once a tank is blown up
« Reply #1 on: 03 Jul 2006, 20:26:39 »
Name your tank tank1 and set up your end trigger that's activated by ur guy.

In the condition field of the end trigger put:
Code: [Select]
this && !(alive tank1)

nothing more to it  ;)

Ice84

  • Guest
Re: Trigger to end the mission once a tank is blown up
« Reply #2 on: 03 Jul 2006, 21:00:02 »
Cheers dude :)