GetStandardFactionReputation(int, object)

Determines a creature's faction standing within a given standard faction group.

int GetStandardFactionReputation(
    int nStandardFaction,
    object oCreature = OBJECT_SELF
);

Parameters

nStandardFaction

STANDARD_FACTION_*

oCreature

Target creature to determine faction standing. (Default: OBJECT_SELF)


Description

Returns a number between 0 and 100 indicating the current faction standing of oCreature within the standard faction group indicated by nStandardFaction.



Remarks

The "cut-off points" are as follows:

90-100: Friendly (defends when attacked by others).
11-89: Neutral (won't attack, but won't help either).
0-10: Hostile (will attack on sight).


Version

1.61

See Also

functions: ClearAllFactionMembers | ClearPersonalReputation | SetStandardFactionReputation
categories: Reputation/Faction Functions
constants: STANDARD_FACTION_* Constants


 author: Daniel Beckman, editor: Lilac Soul