Difference between revisions of "AddReputation"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Dandys
imported>Dandys
 
(4 intermediate revisions by the same user not shown)
Line 29: Line 29:
The amount of reputation points that these integers correspond to are determined by game settings.
The amount of reputation points that these integers correspond to are determined by game settings.


Integer (1-5) Amount of real reputation points added
*(Integer) = (Amount of reputation points actually added)
1 fReputationBumpVeryMinor
**1 = [[fReputationBumpVeryMinor]], Default Setting = 1
2 fReputationBumpMinor
**2 = [[fReputationBumpMinor]], Default Setting = 2
3 fReputationBumpAverage
**3 = [[fReputationBumpAverage]], Default Setting = 4
4 fReputationBumpMajor
**4 = [[fReputationBumpMajor]], Default Setting = 7
5 fReputationBumpVeryMajor
**5 = [[fReputationBumpVeryMajor]], Default Setting = 12


=='''Examples'''==
=='''Examples'''==
Line 40: Line 40:
  AddReputation RepNVGoodsprings 0 5
  AddReputation RepNVGoodsprings 0 5


The player has done a big deed ''against'' this faction, causing a big loss of fame.
The player has done a big deed ''against'' this faction, causing a big gain of infamy equal to [[fReputationBumpVeryMajor]].


  AddReputation RepNVGoodsprings 1 1
  AddReputation RepNVGoodsprings 1 1


The player has done a small deed ''for'' this faction, causing a small gain of fame.
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