This package includes 8 different targeting systems, an example targeting system so you can make your own custom one, and a bonus script!
With these scripts you can target:
First / Last enemy created
Closest / Furthest enemy
Strongest / Weakest enemy
Fastest / Slowest enemy
This script also has the option to target the Nth enemy, such as the 2nd enemy created or the 5th fastest enemy.
All reviews are greatly appreciated so if you take a look at this asset let me know what you think!
If you have any questions, comments, or concerns about the asset then feel free to contact me at any time and ill reply as soon as possible.
Version 1.0.1. Published January 18, 2016
Created with GameMaker: Studio v1.4.1474
You can only review assets you've bought.
Does exactly what it says it will
This deserves 5 stars :)
This includes a very well written and well-commented series of scripts that are pretty straight forward to use. I was showing 200-300+ FPS with 25 turrets and twenty enemies.
Side note: I would ignore the previous reviewer's comment about the scripts needing error checking as it seems he simply forgot to check to see if the instance he was trying to target actually existed first, which should happen in the implementation of the scripts, not in them.
A decent introduction to DS Lists
The scripts crash if at least one target isn't inside the specified range at all times - error checking required
Total size 7.2 KB