Difference between revisions of "AddReputationExact"
Jump to navigation
Jump to search
imported>Markolie (Trying to document reputation from my research... Not sure...) |
imported>Dandys |
||
Line 16: | Line 16: | ||
}}{{FunctionArgument | }}{{FunctionArgument | ||
|Name = Amount | |Name = Amount | ||
|Type = | |Type = float | ||
|Optional = n | |Optional = n | ||
}} | }} | ||
Line 23: | Line 23: | ||
'''AddReputationExact''' adds an ''exact'' amount of reputation to a faction, unlike [[AddReputation]], which only allows 1-5 (small deed - big deed). | '''AddReputationExact''' adds an ''exact'' amount of reputation to a faction, unlike [[AddReputation]], which only allows 1-5 (small deed - big deed). | ||
The first | The first parameter determines if infamy (0) of fame (1) should be added, whereas the second parameter determines the exact amount. | ||
=='''Examples'''== | =='''Examples'''== | ||
Line 31: | Line 29: | ||
AddReputation RepNVGoodsprings 0 5 | AddReputation RepNVGoodsprings 0 5 | ||
Adds 5 '''infamy''' to the | Adds 5 '''infamy''' to the Goodsprings faction. | ||
AddReputation RepNVGoodsprings 1 10 | AddReputation RepNVGoodsprings 1 10 | ||
Adds 10 '''fame''' to the | 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 RemoveReputation for this purpose because with AddReputation the message will always say "gained" rather than "removed." | |||
Revision as of 01:29, 24 November 2012
< [[::Category:Functions|Category:Functions]]
A function included in the GECK Version 1.1.0.262 for Fallout: New Vegas.
Description
Adds an exact amount of reputation (fame/infamy) with a certain faction.
Syntax
AddReputationExact FactionID:editorID Fame/Infamy: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) of 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 RemoveReputation for this purpose because with AddReputation the message will always say "gained" rather than "removed."