Jump to content

Setting up NPC dialogue conditions.


KinkanTono

Recommended Posts

I'm working on my first-ever NV mod, and I've run into a bit of a block. Since The Nexus community has been so informative and helpful in the past, I thought I would ask to see if anyone knows the solution.

 

Right now, I have a couple of NPCs that the player can talk to. I want to set it up so that when NPC A mentions something about a topic, the player gets a new dialogue option with NPC B where they can ask them about the topic that NPC A mentioned. If the player never talks to NPC A, then B's topic should never show up.

 

Could anyone tell me how to set this up in the GECK? Thank you for your time!

Link to comment
Share on other sites

set some variables in either the dialogue of or the npc's scripts.

 

Example assuming NPC script.

 

topic ' What do you know about walruses'

if npc1REF.topicA == 1

for the topic condition this will prevent the topic from being shown unless this variable is set to 1

 

 

topic ' What do you sea-mammals?'

reply 'You should talk to NPC1 about that, he lived with a walrus for years."

results script for the trigger script with one of the NPCs.

set npc1REF.topicA to 1

Link to comment
Share on other sites

  • Recently Browsing   0 members

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