/instance_nearest_ext

An extension for Game Maker Studio

Primary LanguageGame Maker Language

instance_nearest_ext for GMS

Instance_nearest_ext is an extension for Game Maker 8. This is a port of that legacy extension to Game Maker Studio 1 & 2.

The extension allows you to do several things:

  • Find the Nth nearest instance
  • Find the Nth furthest instance
  • Find Nth nearest instance with variable X = 0, where "X" can be any variable, "0" can be any number and "=" can be any operator.

The original extension that I based this off was written by Kyle_Solo and can be found here: http://gmbase.cubedwater.com/index.php?page=extension&id=158