Jump to content

Item Checks and Skill Checks


LurkerCJ

Recommended Posts

Okay hey guys, first time poster on the Nexus Forums. Hello.

 

I have 2 questions.

 

1.)I'd like to make it so an NPC can end/fail dialogue with you if you don't have a certain item.

2.)I'd like to make it so an NPC can end/fail dialogue with you if you don't have a certain Stat.

 

For example:

I want for the PC to engage dialogue. The NPC responds positively if you have a required stat/item. Or negatively if you don't.

 

I have already tried just using the geck interface using for example: GetActorValue Strength =< 8 as positive, and GetActorValue Strength > 8 as the negative response. It hasn't worked thus far, because when I try it in game no matter what the target npc always just responds positively regardless of the strength level. I tried both having the same negative and positive response in the same topic AND splitting them up into two different topics within the quest.

 

So please explain the scripting code instead for these, or explain why it won't work when I set it up that way.

 

EDIT: Nevermind I solved it. It was a rather elementary mistakes. I had set the npc responses as subject rather then target. So they were checking their own stats/items rather then mine.

Remember to check your Target settings friends!

Edited by LurkerCJ
Link to comment
Share on other sites

  • Recently Browsing   0 members

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