AddReputationExact

From GECK
Jump to: navigation, search


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

Description

Adds an exact amount of reputation (Fame/Infamy) with a certain faction.

Syntax

[help]
AddReputationExact FactionReputationID:baseform Infamy/Fame:int Amount:float 

AddReputationExact adds an exact amount of reputation to a faction, unlike AddReputation, which only allows 1-5 (small deed - big deed).

The first parameter determines if Infamy (0) or Fame (1) should be added, whereas the second parameter determines the exact amount.

Examples

AddReputation RepNVGoodsprings 0 5

Adds 5 Infamy to the Goodsprings faction.

AddReputation RepNVGoodsprings 1 10

Adds 10 Fame to the Goodsprings faction.

Notes

  • This function can technically be used to remove reputation by having Amount be a negative number, however, it is better to use RemoveReputationExact for this purpose because with AddReputationExact the message will always say "gained" rather than "removed."

See Also