Jump to content

Home

Help with dailog stuff, maybe something to do with scripts


Recommended Posts

I'd like to know how you can make two NPCs talk between each other, and know how to initiate a dialogue even if the player doesn't choose to talk, as with the Tatooine Dark Jedi, who just start saying 'Lord Malak was most blah blah blah' even though you don't choose the dialogue. How do you do this?

Link to comment
Share on other sites

Use the Speaker and Listener fields in the Entry Structs. These should contain the tag names of the NPCs involved. Speaker will make the NPC speak, and Listener will make the speaker face the correct NPC while speaking.

 

The example below is a dialog where Bastila will say hi to Carth and Carth will say hi back to Bastila. The PC will stay silent.

 

 

StartingList:

->0

->->Index: 0

 

EntryList:

->0

->->StrRef: -1

->->Text: Hi Carth.

->->Speaker: Bastila

->->Listener: Carth

->->RepliesList

->->->0

->->->->Index: 0

 

->1

->->StrRef: -1

->->Text: Hi Bastila.

->->Speaker: Carth

->->Listener: Bastila

->->RepliesList (none)

 

ReplyList:

->0

->->StrRef: -1

->->Text:

->->EntriesList

->->->0

->->->->Index: 1

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...