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: replacement for findcover?  (Read 3059 times)

0 Members and 1 Guest are viewing this topic.

Offline twisted

  • Members
  • *
  • I'm a llama!
replacement for findcover?
« on: 25 Oct 2009, 02:10:11 »
Hi. I was sad to see that now findcover does not work in scripts.

Does anyone here know a subsitute for this functionality?

it is an essential command in arma2 and it is pretty frustrating to lose it as it really helped create scripts that made AI move to cover when under fire.


Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
Re: replacement for findcover?
« Reply #1 on: 26 Oct 2009, 21:17:56 »
Check here:
http://dev-heaven.net/issues/show/2016#note-24

In BIF someone else also made a thread about it.

Basically use nearestObjects without class and filter out unneeded.
Might cause performance issues though..