Difference between revisions of "AddReputationExact"

Jump to navigation Jump to search
173 bytes added ,  01:29, 24 November 2012
no edit summary
imported>Markolie
(Trying to document reputation from my research... Not sure...)
 
imported>Dandys
}}{{FunctionArgument
|Name = Amount
|Type = intfloat
|Optional = n
}}
'''AddReputationExact''' adds an ''exact'' amount of reputation to a faction, unlike [[AddReputation]], which only allows 1-5 (small deed - big deed).
 
The first integerparameter determines if infamy (0) of fame (1) should be added, whereas the second integerparameter determines the exact amount.
 
The value required for i.e. Vilified are unknown, but might be based upon the "Value" of a reputation.
 
=='''Examples'''==
AddReputation RepNVGoodsprings 0 5
 
Adds 5 '''infamy''' to the GoodSpringsGoodsprings faction.
 
AddReputation RepNVGoodsprings 1 10
 
Adds 10 '''fame''' to the GoodSpringsGoodsprings 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."
 
 
Anonymous user

Navigation menu