GetStandardFactionReputation

From NWN Lexicon



Contents

[edit] GetStandardFactionReputation(int, object)

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

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

[edit] Parameters

nStandardFaction

STANDARD_FACTION_*

oCreature

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


[edit] Description

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



[edit] 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).


[edit] Version

1.61

[edit] See Also

functions: 

SetStandardFactionReputation

constants: 

STANDARD_FACTION_* Constants



 author: Daniel Beckman, editor: Lilac Soul
 

Personal tools
Categories