This is a set of two scripts extending game maker's "instance_nearest" and "instance_nearest" functions. The scripts included are:
Instance Furthest EXT - allows you to get the id of the furthest instance taking into account range, obstacles, and precision.
Instance Nearest EXT - allows you to get the id of the nearest instance taking into account range, obstacles, and precision.
Code Structures:
Instance_Furthest_Ext(x,y,object,range,not behind,precise,notme);
Instance_Nearest_Ext(x,y,object,range,not behind,precise,notme);
End User Licence Agreement (EULA).
initial commit