Im trying to perform a scan of entities with scan limit and a test if the entities FLAG1 is set. Problem is the scan is executed randomly and if the object being scanned for is within a certain distance (and they are all in pretty short distance most of the time) - I need to ignore that entity and scan for one further. I tried running another scan after the distance returned less then the certain value with ignore you in the second scan but it's just coming up with empty pointer errors.

So basically, I need to run a c_scan that only returns entities that are further then a specified distance. I could have each of the entities being scanned for run their own vec_dist and toggle their enable_scan based on their own distance checked... But that's a lot of functions to be running so that's kind of a poor way out. Any ideas?


Decessus - 80% done. 100% abandoned.
GET MY ANDROID GAME! https://play.google.com/store/apps/details?id=com.lasertrain.zspinballfree&hl=en