GetReputationThreshold

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout: New Vegas.

Description

Returns the current reputation with a certain faction. Its two parameters are the reputation ID in question and an integer to denote mixed, good, or bad where 0 = mixed, 1 = good, and 2 = bad. The player is only ever on one of these sliders at a time. If GetReputationThreshold always returns a value between 0 and 6. If the function is called with a faction which the player has both fame and infamy equal to zero, it will return a value of 1 in all three cases of checking the mixed, good, and bad axes. If the player has a higher fame than infamy, GetReputationThreshold will return a number between 2 and 6 on the fame axis depending upon how high the player's fame is, and 0 for both mixed and infamy reputations, and so on.

Syntax

[help]
GetReputationThreshold ReputationID:editorID Mixed/Good/Bad:int 

Examples

if GetReputationThreshold RepNVGoodsprings 1 > 1

Returns 1 if the player is currently on the good axis with the Goodsprings faction.

if GetReputationThreshold RepNVGoodsprings 0 == 6

Returns 1 if the player has the highest level of mixed reputation with the Goodsprings faction, i.e. Wild Child.

Values

Below is a list of values that GetReputationThreshold can output and the meaning for each.

GetReputationThreshold ReputationID:editorID 2
6 = Villified
5 = Hated
4 = Shunned
3 = Merciful Thug
2 = Sneering Punk
1 = Neutral
0 = None of the above

GetReputationThreshold ReputationID:editorID 1
6 = Idolized
5 = Liked
4 = Accepted
3 = Good Natured Rascal
2 = Smiling Troublemaker
1 = Neutral
0 = None of the above

GetReputationThreshold ReputationID:editorID 0
5 = Wild Child
4 = Unpredicatable
3 = Mixed
2 = Dark Hero or Soft Hearted Devil
1 = Neutral
0 = None of the above

See Also