Ok well since the enemy is roatating and changing direction i need it to to always just check to see if the player is in the 180 degree view in front of him. But the catch is that even if he is in this 180 degree view i need itto check if there is a wall between them and if there is then the player is not visible.
I'm not that great with math and certain types of fuctions so i couldnt figure this one out myself.
well please tell me if you need a better description or anything else
Edited by J-Labs, 08 July 2006 - 01:43 AM.











