Difference between revisions of "GetReputation"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Dandys
imported>Dandys
 
Line 12: Line 12:
   }}{{FunctionArgument
   }}{{FunctionArgument
   |Name = Fame/Infamy
   |Name = Fame/Infamy
   |Type = float
   |Type = int
   |Optional = n
   |Optional = n
   }}
   }}

Latest revision as of 01:19, 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. Currently, when used in-game with the console or when used at all without an if, it fails to return a value, so it is best used as an if statement like in the examples.

Syntax

[help]
GetReputation FactionID:editorID Fame/Infamy:int

Examples

if GetReputation RepNVGoodsprings 1 > 10

Returns 1 if the player has more than 10 fame with the GoodSprings faction.

if GetReputation RepNVGoodsprings 0 < 30

Returns 1 if the player has less than 30 infamy with the GoodSprings faction.


See Also