Jump to content

Lose Karma For Picking a dialogue option


Guest deleted43426342

Recommended Posts

Guest deleted43426342

As the title says, how can I make the player lose karma for picking a dialogue option? And how do I make an NPC ignore the player whenever they try to talk to them because they picked that karma losing dialogue option? With ignoring I mean they still say something but the player can't say anything in return. For example when two NPC's talk to each other. You can hear it and it has subtitles but you can't respond to it.

Link to comment
Share on other sites

You can use the RewardKarma function to make the player lose karma. Just give it a negative value and that amount of karma will be lost. For example:

 

RewardKarma -10

 

Note that karma isn't used much in FNV. The faction system is used much more heavily. You may want to set up a faction for your NPC and use all of the faction functions instead.

 

As for making the NPC ignore the player, you can either use an NPC script or a quest script with a variable in it that gets set when the player picks that dialog option. Then all you need to do is set up the greeting with that variable as a condition, and when that variable is true the greeting that is selected is one that has the goodbye option checked so that the NPC will give no further dialog options.

Link to comment
Share on other sites

Guest deleted43426342

You can use the RewardKarma function to make the player lose karma. Just give it a negative value and that amount of karma will be lost. For example:

 

RewardKarma -10

 

Note that karma isn't used much in FNV. The faction system is used much more heavily. You may want to set up a faction for your NPC and use all of the faction functions instead.

 

As for making the NPC ignore the player, you can either use an NPC script or a quest script with a variable in it that gets set when the player picks that dialog option. Then all you need to do is set up the greeting with that variable as a condition, and when that variable is true the greeting that is selected is one that has the goodbye option checked so that the NPC will give no further dialog options.

Thank you!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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