It doesn't work well. I have 3 enemies.
Upon start 1-st one leaves the room, although there are walls in his way he just ignores them.
2-nd one starts making circles in the air making collision with wall aswell. Eventualy he gets stuck inside a wall.
The last one starts making infinity sighn in the air.
So yeah, they seem quite random.
Here's my code
//paths: aaa //compleatly blank path for overwriting //Name: enemy //create event alarm=10 alarm=30 //alarm mp_potential_path_object(aaa,you.x,you.y,8,4,wall) //alarm set path aaa speed 3 // this is done with drag n drop, not sure how to write it in code
I would apreciate NOT suggesting me tutorials, cause i never understand those.