Difference between revisions of "GetReputationThreshold"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Dandys
(Created page with "{{Function |origin = VEGAS1 |summary = Returns the current reputation with a certain faction. Its two parameters are the reputation ID in question and an integer to denote m...")
 
imported>Dandys
 
(One intermediate revision by the same user not shown)
Line 21: Line 21:
  if GetReputationThreshold RepNVGoodsprings 1 > 1
  if GetReputationThreshold RepNVGoodsprings 1 > 1


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


  if GetReputationThreshold RepNVGoodsprings 0 == 6
  if GetReputationThreshold RepNVGoodsprings 0 == 6
Line 31: Line 31:


*[[GetReputation]]
*[[GetReputation]]
*[[GetReputationPct]]
*[[AddReputation]]
*[[AddReputation]]


[[Category:New Vegas Content]]
[[Category:New Vegas Content]]
[[Category:Functions (GECK Vegas 1.1)]]
[[Category:Functions (GECK Vegas 1.1)]]

Latest revision as of 01:13, 24 November 2012

< [[::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

[help]
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