Description

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).

Changes in 1.0.0

initial commit

Version 1.0.0. Published July 12, 2014

Created with GameMaker: Studio v1.99.166

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

kembui t 12 November 2017


Gravatar

Amaroq S 24 February 2017

Typo in description

You said "instance_nearest" twice.


Gravatar

Ata N 12 February 2017

Nice gift !

Nice asset, and free, thanks, great for improve learning curves !


Gravatar

Andy H 07 October 2015

Good scripts to have!

These 2 scripts are definitely worth having around, thanks NT Games! :)


Gravatar

Mikhail B 19 September 2014

Thank you

good job


Gravatar

Yariv L 12 July 2014

Simple, intuitive and useful!

Thanks for making this free :D
I'll use it for my AI thingies.

Package contents

Loading, please wait

What is the issue?

Back to Top