Hello, im trying to use this with your other scripts for just one simple kind of npc, one that walks along a path made of a specific material, now i have tried to modify the path mats as just stone but it continues to walk around on all block types. I have gone through all the other scripts aswell and have eliminated any reason that it would wander outside of the designated stone walk path. There is another script on this site that is ment to do the same thing but it just dosent work period. I was hoping that maybe you would beable to help me by making a script, or telling me what to edit that would allow the npc to just walk on a path made out of a spcific material because with this it walks on everything, grass, wood, stone, stone bricks, cobble stone, water, lily pads. any and everything that i have placed down to try and see what i am doing wrong.
The way this works is that it will pick incremental targets that lead to the final destination. The incremental targets will always be the <npc.flag[Pathfind.PathMaterials]> that either you set manually, or the script sets as the default. This means that it may walk over some materials that are not on the path. Be sure to adjust these values for your unique needs.<npc.flag[Pathfind.MinPathFindRadius]>
<npc.flag[Pathfind.MaxPathFindRadius]>
<npc.flag[Pathfind.PathSearchRadius]>
<npc.flag[Pathfind.PathWalkRadius]>
Also note: The Fidgeting Mechanics that the Wandering Soul depends on does NOT keep it on any path material. It will wander around on any materials. I'm thinking about revamping the Fidgeting mechanics, but haven't yet.
Hello, im trying to use this with your other scripts for just one simple kind of npc, one that walks along a path made of a specific material, now i have tried to modify the path mats as just stone but it continues to walk around on all block types. I have gone through all the other scripts aswell and have eliminated any reason that it would wander outside of the designated stone walk path. There is another script on this site that is ment to do the same thing but it just dosent work period. I was hoping that maybe you would beable to help me by making a script, or telling me what to edit that would allow the npc to just walk on a path made out of a spcific material because with this it walks on everything, grass, wood, stone, stone bricks, cobble stone, water, lily pads. any and everything that i have placed down to try and see what i am doing wrong.
The way this works is that it will pick incremental targets that lead to the final destination. The incremental targets will always be the <npc.flag[Pathfind.PathMaterials]> that either you set manually, or the script sets as the default. This means that it may walk over some materials that are not on the path. Be sure to adjust these values for your unique needs.<npc.flag[Pathfind.MinPathFindRadius]> <npc.flag[Pathfind.MaxPathFindRadius]> <npc.flag[Pathfind.PathSearchRadius]> <npc.flag[Pathfind.PathWalkRadius]> Also note: The Fidgeting Mechanics that the Wandering Soul depends on does NOT keep it on any path material. It will wander around on any materials. I'm thinking about revamping the Fidgeting mechanics, but haven't yet.