#Pathfinding stops when it goes on higher platforms

1 messages · Page 1 of 1 (latest)

fickle dawn
#

so I have this tall ai pathfinding npc that chases down the player, but if the player is on an elevated platform, the npc stops moving until the player steps down from said elevated platform. How do I make it so that the npc can go up or even jump on the platform they're on?

unique pecan
#

script is pretty good, i would suggest that it could be optimized a bit by removing the while loop and using events to drive its behaviour

#

anyways its not jumping because you set "canjump" to false

fickle dawn
#

I set the canjump to true and it does not jump, infac, now it gets stuck on the walls

#

another thing that the npc is doing is there are times where he keeps stuttering backwards as he chases the player

fickle dawn
#

ok scatch that, I put this new script in the npc but another problem im facing is that it keeps stuttering everytime it gets close to the player.