Jump to content

Attempting to tie reputation to the player's charisma


Dermotallic

Recommended Posts

So I've been attempting to create a mod that makes your reputation tied to your charisma if it's high or low enough (credit for this idea goes to /u/Sideism on reddit) but I can't seem to get the script running.

 

-it's one single script, on a quest set to start at game start, with processing delay set to 1 second, i've set nothing else with this quest

 

-the script is divided into about 12 different if statements with more nested inside each one because of the 10 limit on nested if's

 

-i've set the scriptname at the top and the body of the script is within the begin gamemode block

 

-i'm running geck through the powerup and no errors are showing up

 

here's a sample showing what i'm doing

	If player.getbaseav charisma > 9
		If GetReputation RepNVPrimm 1 > 4 && < 15
			SetReputation RepNVPrimm 1 30
		endif
		If GetReputation RepNVPrimm 0 > 14
			SetReputation RepNVPrimm 0 14
		endif
		If GetReputation RepNVTheStrip 1 > 5 && < 20
			SetReputation RepNVTheStrip 1 40
		endif
		If GetReputation RepNVTheStrip 0 > 19
			SetReputation RepNVTheStrip 0 19
		endif
		If GetReputation RepNVNovac 1 > 2 && < 10
			SetReputation RepNVNovac 1 20
		endif
		If GetReputation RepNVNovac 0 > 9
			SetReputation RepNVNovac 0 9
		endif
		If GetReputation RepNVFreeside 1 > 10 && < 35
			SetReputation RepNVFreeside 1 70
		endif
		If GetReputation RepNVFreeside 0 > 34
			SetReputation RepNVFreeside 0 34
		endif
		If GetReputation RepNVGoodsprings 1 > 2 && < 8
			SetReputation RepNVGoodsprings 1 15
		endif
		If GetReputation RepNVGoodsprings 0 > 7
			SetReputation RepNVGoodSprings 0 7
		endif
	endif

i have the ESP activated and yet when my charisma is set at 10 i'm still able to go far beyond shunned into vilified even though it's supposedly set to limit infamy to shunned. Any help at all would be greatly appreciated.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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