Difference between revisions of "GetReputation"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>MrSlackPants
(New page: =='''Description'''== '''GetReputation''' is a new function used in '''Fallout: New Vegas'''. It is used to return a reputation value with a given faction. (Reputation can either be fame ...)
 
imported>MrSlackPants
(Cleaned up.)
Line 1: Line 1:
=='''Description'''==


'''GetReputation''' is a new function used in '''Fallout: New Vegas'''. It is used to return a reputation value with a given faction. (Reputation can either be fame or infamy)
{{Function
 
|origin = VEGAS1
=='''Syntax'''==
|summary = Returnes the current reputation with a certain faction.
 
GetReputation ''Faction'' ''Fame/Infamy(1/0)''


|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
  }}
}}
=='''Examples'''==
=='''Examples'''==


Line 13: Line 27:
Returns 1 if the player has more then 10 '''fame''' with the GoodSprings faction.
Returns 1 if the player has more then 10 '''fame''' with the GoodSprings faction.


  if GetReputation RepNVGoodsprings 0 >30
  if GetReputation RepNVGoodsprings 0 <30


Returns 1 if the player has more then 30 '''infamy''' with the GoodSprings faction.
Returns 1 if the player has less than 30 '''infamy''' with the GoodSprings faction.


=='''Notes'''==
*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'''==
*[[AddReputation]]
*[[AddReputation]]
=='''Reference'''==
None provided.




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

Revision as of 06:22, 12 November 2010

< [[::Category:Functions|Category:Functions]]

A function included in the GECK Version 1.1.0.262 for Fallout: New Vegas.

Description

Returnes the current reputation with a certain faction.

Syntax

[help]
GetReputation FactionID:editorID Fame/Infamy:int Amount:int

Examples

if GetReputation RepNVGoodsprings 1 >10

Returns 1 if the player has more then 10 fame with the GoodSprings faction.

if GetReputation RepNVGoodsprings 0 <30

Returns 1 if the player has less than 30 infamy with the GoodSprings faction.


See Also