kocrachon 2 Posted February 28, 2017 Hey All, I am trying to setup a trigger like this. Find the nearest X from Helicopter1, that is at least 2 distance away. Basically, I am have 3 items of the same object type. As I bring them close to the helicopter, it "attachto" them. If I do just nearestobject, it always detects the first one because its attached to it, so it will always be the closest ones. So I am now trying to get it to find out the next nearest one. Share this post Link to post Share on other sites
Nikander 123 Posted March 1, 2017 try using nearestObjects instead ? private _nextnearest = (nearestObjects ...) select 1; Share this post Link to post Share on other sites
kocrachon 2 Posted March 1, 2017 So, part of the problem is the objects are spawned later, so the select 1 creates a Zero divisor error. Share this post Link to post Share on other sites