GetReputationPct

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

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

Description

Returns how far the player is along a reputation's fame or infamy, in the form of a decimal between 0 and 1. The result is the same as if one had divided the player's raw fame or infamy value by the given reputation's maximum value, or scale.

Syntax

[help]
GetReputationPct FactionID:editorID Fame/Infamy:int

Examples

if GetReputationPct RepNVGoodsprings 1 == 1

True if the player's fame with the Goodsprings faction is at its maximum.

if GetReputationPct RepNVGoodsprings 0 < 0.5

True if the player's infamy with the Goodsprings faction is below 50% of its maximum.


See Also