Jump to content

How do Banter's get executed


vanatos

Recommended Posts

Hi guys, more questions :D

 

I've been looking at how banters get triggered, its easy for me to see how this is done via .baf scripts triggering based on variables and executing interact(npc)

 

But it seems there is a whole engine to take care of random banters and i can't find any .baf file triggering these.

 

For instance, Minsc has a random banter weighted at 40 which is the dialogue with Aerie to become a witch, but i can find no code in any .baf file that executes this with interact(..)

so is there a whole engine behind the scenes that just randomly starts executing party banters?

Link to comment

When the engine decides that someone shall banter, it picks 2 interacting npcs. Sets 'interactingwith' to the second npc. And fires the dialog associated with the first npc from interdia.2da

The random pickings are done by the dialog top level conditions.

This doesn't seem too complicated.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...