Difference between revisions of "AddReputation"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>MrSlackPants
(New page: =='''Description'''== '''AddReputation''' is a new function used in '''Fallout: New Vegas'''. It is used to add either fame or infamy to a faction. =='''Syntax'''== AddReputation ''Fac...)
 
imported>Dandys
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=='''Description'''==
{{Function
|origin = VEGAS1
|summary = Adds a certain amount of reputation (fame/infamy) with a certain faction.


'''AddReputation''' is a new function used in '''Fallout: New Vegas'''. It is used to add either fame or infamy to a faction.
|returnType = void
|referenceType =
|arguments =
  {{FunctionArgument
  |Name = FactionID
  |Type = editorID
  |Optional = n
  }}{{FunctionArgument
  |Name = Fame/Infamy
  |Type = int
  |Optional = n
  }}{{FunctionArgument
  |Name = Amount
  |Type = int
  |Optional = n
  }}
}}


=='''Syntax'''==
'''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.


AddReputation ''Faction'' ''Fame/Infamy(1/0)'' ''iAmount''
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.
 
*(Integer) = (Amount of reputation points actually added)
**1 = [[fReputationBumpVeryMinor]], Default Setting = 1
**2 = [[fReputationBumpMinor]], Default Setting = 2
**3 = [[fReputationBumpAverage]], Default Setting = 4
**4 = [[fReputationBumpMajor]], Default Setting = 7
**5 = [[fReputationBumpVeryMajor]], Default Setting = 12


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


Adds 5 '''infamy''' to the GoodSprings faction.
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]].


AddReputation RepNVGoodsprings 1 10


Adds 10 '''fame''' to the GoodSprings faction.
==='''Notes'''==


=='''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."
*This function is new in the GECK for '''Fallout: New Vegas''', and was not available in the TES4 Construction Set nor the GECK for '''Fallout 3'''.  


=='''See Also'''==
=='''See Also'''==
*[[GetReputation]]
*[[GetReputation]]
 
*[[AddReputationExact]]
 
*[[RemoveReputation]]
=='''Reference'''==
None provided.
 


[[Category:New Vegas Content]]
[[Category:New Vegas Content]]
[[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