SetStandardFactionReputation(int, int, object)

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

void SetStandardFactionReputation(
    int nStandardFaction,
    int nNewReputation,
    object oCreature = OBJECT_SELF
);

Parameters

nStandardFaction

STANDARD_FACTION_*

nNewReputation

New faction standing. Must be a value between 0 and 100. (inclusive)

oCreature

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


Description

Sets the current faction standing of oCreature within the standard faction group nStandardFaction to the new faction standing indicated by nNewReputation. The parameter nNewReputation must be a number between 0 and 100.



Version

1.22

See Also

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


 author: Daniel Beckman
 Send comments on this topic.