Difference between revisions of "AddReputation"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Dandys
imported>Dandys
 
Line 46: Line 46:
The player has done a small deed ''for'' this faction, causing a small gain of fame equal to [[fReputationBumpVeryMinor]].
The player has done a small deed ''for'' this faction, causing a small gain of fame equal to [[fReputationBumpVeryMinor]].


==='''Notes'''==
*This function can technically be used to remove reputation by having Amount be a negative number, however, it is better to use [[RemoveReputation]] for this purpose because with '''AddReputation''' the message will always say "gained" rather than "removed."


=='''See Also'''==
=='''See Also'''==
*[[GetReputation]]
*[[GetReputation]]
*[[AddReputationExact]]
*[[AddReputationExact]]
*[[RemoveReputation]]


[[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:44, 24 November 2012

< [[::Category:Functions|Category:Functions]]

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

Description

Adds a certain amount of reputation (fame/infamy) with a certain faction.

Syntax

[help]
AddReputation FactionID:editorID Fame/Infamy:int Amount:int


AddReputation adds a certain amount of reputation to a faction, unlike AddReputationExact, it only allows 1-5, whereas 1 is a small deed done, and 5 is a big deed.

The first integer determines if infamy (0) of fame (1) should be added, whereas the second integer determines the exact amount (1-5)

If one wishes to add an exact amount of reputation, use AddReputationExact.

The amount of reputation points that these integers correspond to are determined by game settings.

Examples

AddReputation RepNVGoodsprings 0 5

The player has done a big deed against this faction, causing a big gain of infamy equal to fReputationBumpVeryMajor.

AddReputation RepNVGoodsprings 1 1

The player has done a small deed for this faction, causing a small gain of fame equal to fReputationBumpVeryMinor.


=Notes

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

See Also