r/justgamedevthings • u/BengiaLabs • 43m ago
How do you stop AI NPCs from making things up when they talk to each other?
I’ve been testing a UE5 scene where the player asks one NPC for directions. That NPC asks another, then comes back with an answer.
The tricky part is keeping track of who knows what: the first NPC shouldn’t know the answer before asking, and its reply to the player should reflect what the second NPC actually said. How are you handling character-specific knowledge when NPCs pass information between each other?