GetReputationThreshold

Revision as of 01:13, 24 November 2012 by imported>Dandys
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function included in the GECK Version 1.1.0.262 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

GetReputationThreshold FactionID: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.


See Also