Jump to content
aie-boshell

Move Unit to NearestObjects of Certain Type, Select 0

Recommended Posts

You can place the modules' coordinates in an array, then compare the distance between leaders and positions.

in MP, modules are initialized before any init file, so you probably need to:

Add a global variable in init.sqf :

myArray = [];

then place in init field of the modules:

0 = this spawn {waitUntil {isNil "myarray"}; myarray pushBack (getpos _this) };

 

Now you have an array of site modules' positions.

Share this post


Link to post
Share on other sites

What do you mean by blue/red pencils? Like marker type? If so, there are many other ways to do this. Just confirm if it's markers or what and I'll reply. (:

 

EDIT: Oh, object lol. Never mind.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×