Jump to content

Change faction behavior based on reputation


th3overseer

Recommended Posts

So, it occurs to me that the Great Khans are supposed to be incredibly loyal to their friends and allies. With this in mind, I'd like to make it so, with a reputation of liked or idolized, they become allies to the player. So, if the player got into a fight with a random non-Khan NPC, any nearby Khans would turn hostile to that NPC as well. Is that possible, and if so, how would I go about doing it?

Link to comment
Share on other sites

In addition to what Roy said, if you wanna script them to become allies with the player with a good rep, you'd probably need a GameMode block. Maybe something like this...

scn ReputationScript

Begin Gamemode

if GetReputationThreshold RepNVGreatKhans 1 > 1
SetAlly GreatKhansFactionNV PlayerFaction
Else
SetEnemy GreatKhansFactionNV PlayerFaction 1 1 

end

I think that should make it so when the player is on the good axis with the Khans faction their factions become allies, and if not, they become neutral. I didn't test it, and there may be a more elegant way, but it may give you an idea :smile:

Edited by Jokerine
Link to comment
Share on other sites

  • Recently Browsing   0 members

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