A more efficient 'enemies in range'?
View Single Post
10-29-20, 11:11 AM
A Murloc Raider
Join Date: Sep 2020
Perfect Vrul! I wasn't aware of UnitCanAttack, between that and removing the exists check I should be able to drop some time off the function.
DahkCeles - nameplates is a fixed array, it doesn't compress or expand as nameplates are added or removed. If nameplate1 points to a mob, and that mob dies, nameplate1 becomes a null even though nameplate2 may still point to a mob.
View Public Profile
Send a private message to thatrickguy
Find More Posts by thatrickguy