Jump to content

scripted conversation between two NPC


taglag

Recommended Posts

I am making a quest where I use the OBSE getfirstref, getnextref, while, loop to get one of the NPC in the conversation

 

Quest is set to allow repeat conversations.

 

I have no problem setting up a scripted conversation where I know each NPC's name or global reference Variable, but in this instance one of them is an NPC picked by the Quest to start the dialog with only the local variable as ID.

 

I have tried adding them to a faction, but this does not seem to work. It seems or I have missed something that the "GetIsId" is the only way to make this happen allowing your to set target to each receiving NPC in turn. I hope I am wrong.

 

so example

 

I have NPC1 and I know there name.

 

NPC2 is picked by the script at random.

 

My problem is the randomly picked NPC is not known other than as the Reference local from the quest script.

 

so in dialog, setting target on the random NPC seems impossible for me. there for my dialog will only start, and the next target sense I cannot use "GetIsId" will not fire, and the scripted dialog does not follow through the "link to" and "Link from"

 

I hope I have explained this correctly so you understand my problem.

 

Is there any simple work around for this, or have I missed something ?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...