"well - think about it... if you see the enemy, then the enemy sees you ;)"
Not if they are looking the other way they can't
try this
http://www.blitzbasic.com/codearcs/codearcs.php?code=532
This works out the angle from one object to the other. If the objetc being looked at is within the required view 'zone' then it is checked to see if the object doing th elooking can actually see the other objetc (a wall might be in the way)
Not if they are looking the other way they can't
try this
http://www.blitzbasic.com/codearcs/codearcs.php?code=532
This works out the angle from one object to the other. If the objetc being looked at is within the required view 'zone' then it is checked to see if the object doing th elooking can actually see the other objetc (a wall might be in the way)