This is driving me nuts. I am scripting it just like before and it doesn't work. But my other script works. I have no idea how to make this damn grunt just spawn and walk his darn path. It's impossible!
Make sure that name of the monster in the level editor is called "Z1" and the Script Area in which the player collides with to spawn the monster is has the right name in the level editor.
Also check and make sure that the patrol nodes are named correctly too.
Make sure that the type of Area for "Path1" through "Path4" are "PathNode".
Once you check all of this and all of it is correct. Perhaps post a picture that shows your map with those path nodes in which could be the path nodes' positions that cause it to mess up.
Make sure that name of the monster in the level editor is called "Z1" and the Script Area in which the player collides with to spawn the monster is has the right name in the level editor.
Also check and make sure that the patrol nodes are named correctly too.
Make sure that the type of Area for "Path1" through "Path4" are "PathNode".
Once you check all of this and all of it is correct. Perhaps post a picture that shows your map with those path nodes in which could be the path nodes' positions that cause it to mess up.
I made it work, it was just a stupid mistake by me.