Icon

Instance Nearest and Furthest

Nathan Auckett

You must be logged in to obtain assets

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

Age Rating: 4+

Version

GMS1 - Version 1.0.0. Published July 12, 2014

initial commit

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait