Hi everyone!
I'm currently using Jet's pathfinding script in my game for the enemy to chase the player. However, there is a segment where the character pilots an event getting chased, so naturally, I used the following script call in the move route.
find_path($game_map.events[3].x, $game_map.events[3].y)
Unfortunately, this doesn't properly find a path towards the event. All it does is move the enemy towards them in a similar fashion to move towards player, getting stuck on walls and such without any attempt to avoid them.
Any help would be great!
I'm currently using Jet's pathfinding script in my game for the enemy to chase the player. However, there is a segment where the character pilots an event getting chased, so naturally, I used the following script call in the move route.
find_path($game_map.events[3].x, $game_map.events[3].y)
Unfortunately, this doesn't properly find a path towards the event. All it does is move the enemy towards them in a similar fashion to move towards player, getting stuck on walls and such without any attempt to avoid them.
Any help would be great!