Need For LUA: Auto Object Finder (E)

MARRA92 - Custom level - from Windows
PlayEditOne player liked this.Log in to like this level.

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)

Views: 149 Downloads: 32 Unique objects: 1 Total objects: 13

Discuss this level

Log in to comment on this level.
  • MARRA92: HHHHHHHHHEEEEEEEEEEEEAAAAAAAAAALLLLLLLPPPPPP xD
  • MARRA92: anyone?
  • MARRA92: @golden :

LEVEL ID: 25210