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: An individual detection = failure  (Read 3259 times)

0 Members and 1 Guest are viewing this topic.

Offline punisher

  • Members
  • *
An individual detection = failure
« on: 18 Jul 2011, 18:06:02 »
Hey, im making a convoy type mission where a scout will go ahead to recon the area before the main group.
If the scout detects the enemy i want to mission to end, but it does not matter if the main convoy knows about them. Any ideas?
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat

Re: An individual detection = failure
« Reply #1 on: 18 Jul 2011, 19:32:10 »
Knows About would work, create a trigger and make the condition field...

Code: [Select]
reconJeep knowsAbout enemy1 >= 3.5 or reconJeep knowsAbout enemy2 >= 3.5
May need a bit of tinkering with, I'm not sure what value is set as recongnised as enemy so just edit the 3.5 from 0 to 4 until it works like you want it to.
Then put what ever you want in the activation field.

Depending on the amount of enemies in your mission there is probably a better method of doing this. But the above should work.

Offline punisher

  • Members
  • *
Re: An individual detection = failure
« Reply #2 on: 21 Jul 2011, 15:36:46 »
Thanks '1.0' seems to work
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat