I've allready posted this problem in a thread in the uploads forum, but it seemed a little missplaced so i figured i'd repost it here.
What i'm trying to achieve is simply a remake of Ashleys Perfect topdown shooter AI, ( posted here; the third frame in the .cap) but without the badass math and in a way that normal people can understand.
I've figured out exactly how to do it, and i've programmed it as it should be. Now i have just one problem. It doesn't work. Why? I don't know. So have a look at this .cap and read the comments and then tell me what you think is the problem. I've checked it so many times now that i'm starting to think it's not my fault. Some things (like the cross showing on the same position as the player) really indicates that a bug is hiding somewhere, but it might as well be a stupid mistake.
http://www.mediafire.com/?jwurdaalaam
Thank you for your time.