GetReputation

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. 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.

The second arg determines if infamy (0) of fame (1) is checked.

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