A downloadable mod

NPC Pathfinding that can be used for Enemy events or any NPC you want to move to a certain location while avoiding objects and walls!



The following functions are REQUIRED for it to work


Main Options



This is THE most important function, without it the event has nowhere to go.


Once you set the target you'll need to set the Point X, Point Y, Point Z for the event to follow the path.

You'll need to use Local variables so each event can move to it's own points, or if you want you can use a global variable, I would suggest using the Local Variable instead.





This is how the event moves, you to to set the Variables to the Point X,Y,Z that was made.



Sub Options








StatusReleased
CategoryGame mod
Rating
Rated 4.5 out of 5 stars
(2 total ratings)
Authormelontoucan

Download

Download
NPCPathfinding.rar 19 kB

Comments

Log in with itch.io to leave a comment.

Can it work for chase scene If I want to use it for a horror game? Can the selected npc move around the walls to find a proper path to the player? It would really improve my project please.

Yes. Yes. and Yes

Is there a tutorial video on youtube by any chance? I'm getting confused :/ should the npc event in question have all of the C# calls to constatly walk + tracking the player's location or should it be inside of a Parallel Sheet? Repeat in parallel?

There are descriptions for each function. You want to have it constantly checking whenever you need to do pathfinding.

This is like... WOW!