Need For LUA: Auto Object Finder (E)

MARRA92 - Custom level - Feb 18, 2017 from Windows
Play Edit 1 players liked this.

I need the OF to automaticly point the closest cylinder ( or whatever ID ) to it: in this situation the closest is the one near ground, but then the closest will become the other cylinder when it'll fall.

If possible i would like it to have a trigger minimum range: it will auto point the closest target only if present in established range, if out the range, stopped.

This is a function i need to put in my naval level, ill set scout vehicles to "call " combat vehicles when finding a enemy, and combat enemy vehicles to auto aim the player when enough close.

Switch was added in a (failed) attemp to mak enon lua multi target aim ( i think it would need a ct for each target, wich mean too many pieces in final level)

Downloads: 34 - Level ID: 25210