Aller au contenu

Photo

Interior Level - Forcing Pathfinding/Walkmesh [SOLVED]


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Challseus

Challseus
  • Members
  • 1 032 messages
All,

So, I have an npc that is behind jail bars in my mod. After some dialogue with them, which includes a stage, they always kept ending up on the other side of the bars. Even after explicitly jumping them to their previous spot, they would remain in the same area. After sort of pushing it off for months to do other things, I just found out why. Well, I think it's this anyway:

Posted Image

So as you can see in the picture, there is no pathfinding on the other side of the jail bars. So I assume this is why they can't be standing there after dialogue? If so, is there a way to force pathfinding/walkmesh in a particular area of an interior level, since when I do the normal generate, it respects the boundaries of the cell (fair enough).

Thanks.

Modifié par Challseus, 26 septembre 2010 - 04:59 .


#2
AmstradHero

AmstradHero
  • Members
  • 1 239 messages
If you place another start point in the enclosed room within the level editor, it should generate pathfinding for that area as well. Then the NPC should be able to remain there after the dialogue has finished.

#3
Challseus

Challseus
  • Members
  • 1 032 messages
That worked perfectly. Thanks!