- Enemy objects.
- Good guy objects.
- Wall objects.
I need to figure out how to return the id, (from the enemy object,) of the nearest good guy who isn’t blocked by a wall. I then need to make that id into a variable.
I already know how, to do the collision checking to see if the good guy is in view, I just need to return the id of the nearest good guy "in sight." (So to speak.)
All help is greatly appreciated, that you for your time.











