On created the enemy should go to a location. If it collides with a player, it should stalk the player until it loses sight of the player. If it loses sight it should go back to the location.
dropbox.com/s/wyagowno5fn3pit/Alpha.capx
If you disable the enemies Solid behaviour it moves. This may be a bug - I'm not sure. I could see this being an issue if you had Obstacles set to Solid, but you don't. You're using Custom.
Thanks, but the enemy still doesn't go to its location.
You're not resetting LocationGo=0.
<img src="https://www.dropbox.com/s/1idcc2unk1je0xf/Capture.PNG" border="0" />
Still doesn't work.
dropbox.com/s/1idcc2unk1je0xf/Capture.PNG
Develop games in your browser. Powerful, performant & highly capable.
Alpha_BHT.capx
You do have to get 500 pixels away!
You have to be kidding me! I move the player far away from the enemy sprite and it didn't work, but now it works.
I have bad luck lol
Thanks for your help.