I would put a boolean flag in the creature data struct to identify it as a unique, that way you could put a conditional to even determine if you needed to check for anything. That would save checking for something that isnt going to be there, I'm guessing that 'agro range' already implements some distance checking, but I need to dip into the code to see how thats done, I would think that this would just be an extension of that.
Anyways, like I said, probably a stupid idea...
|