Aller au contenu

Photo

Npc is hostile yet not attacking.


1 réponse à ce sujet

#1
carmadaum

carmadaum
  • Members
  • 52 messages
 I've set up a simple test convo with a npc  where a plot flag is triggered that has a script that switches the npc's team to turn hostile. It works great, test convo ends and the two npc's before the player turn hostile. however.... they don't attack the player and even weirder is as the player you can select the hostile npcs the player will :"face off" with one of them but neither of them attacks. The to npc's just end up threatening over and over. Anybody have a idea of whats going on?

#2
DavidSims

DavidSims
  • BioWare Employees
  • 196 messages
Even though you can navigate overlapping spaces using WASD on PC, the point and click pathfinding, as well as NPC pathfinding, is based on a 2d walkmesh that can't overlap. Most likely the enemies were trying to attack, but the pathfinding they were on and all the pathfinding between them and their target was invalid, so they couldn't move.