Difference between revisions of "AddReputationExact"

243 bytes added ,  02:34, 24 November 2012
m
no edit summary
imported>Markolie
(Trying to document reputation from my research... Not sure...)
 
imported>Dandys
m
 
(3 intermediate revisions by the same user not shown)
Line 16: Line 16:
   }}{{FunctionArgument
   }}{{FunctionArgument
   |Name = Amount
   |Name = Amount
   |Type = int
   |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 integer determines if infamy (0) of fame (1) should be added, whereas the second integer determines the exact amount.
The first parameter determines if infamy (0) of fame (1) should be added, whereas the second parameter determines the exact amount.
 
The value required for i.e. Vilified are unknown, but might be based upon the "Value" of a reputation.


=='''Examples'''==
=='''Examples'''==
Line 31: Line 29:
  AddReputation RepNVGoodsprings 0 5
  AddReputation RepNVGoodsprings 0 5


Adds 5 '''infamy''' to the GoodSprings faction.
Adds 5 '''infamy''' to the Goodsprings faction.


  AddReputation RepNVGoodsprings 1 10
  AddReputation RepNVGoodsprings 1 10


Adds 10 '''fame''' to the GoodSprings faction.
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 [[RemoveReputationExact]] for this purpose because with '''AddReputationExact''' the message will always say "gained" rather than "removed."




Line 41: Line 43:
*[[GetReputation]]
*[[GetReputation]]
*[[AddReputation]]
*[[AddReputation]]
*[[RemoveReputation]]
*[[RemoveReputationExact]]


[[Category:New Vegas Content]]
[[Category:New Vegas Content]]
[[Category:Functions (GECK Vegas 1.1)]]
[[Category:Functions (GECK Vegas 1.1)]]
Anonymous user