Author Topic: replacement for findcover?  (Read 659 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:

In BIF someone else also made a thread about it.

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