Not sure why this isn't working. Trying to get enemy slimes to move toward my player whenever the player gets within a certain range and lose the player when they are out of range. Right now it only works for a single instance of an enemy. Any ideas why this won't be working for all the instances of enemies on screen?
.CAPX
https://drive.google.com/open?id=0BzhJb ... khxNGd5MGc
[SOLVED] I needed to add a For Each Enemy to the LOS event.
Develop games in your browser. Powerful, performant & highly capable.
Well, you feed only 1 enemy to the function, while there are more of them in the picklist.
https://www.dropbox.com/s/s3ncphroda3b6 ... .capx?dl=0
Okay, I thought that like if any enemy had the player is vision it would keep calling the function with that enemies unique ID making them move independently. I see how the For Each Enemy fixes the issue I was having thank you.