STANDARD_FACTION_* Constant Group

The four generic factions used to determine enmity and friendship by NPCs.



Constants

ConstantValueDescription
STANDARD_FACTION_COMMONER1
Characterized as an average townsperson. Indifferent to PCs, merchant and defender factions, defend other commoner faction members, and attack hostile faction members.
STANDARD_FACTION_DEFENDER3
Characterized by a town guard. Defends commoners, merchants, other defenders, and PCs, and attacks hostile faction members.
STANDARD_FACTION_HOSTILE0
Characterized as a normal monster. Attacks all other factions except other hostile faction members.
STANDARD_FACTION_MERCHANT2
Characterized as a normal tradesman or merchant. Indifferent to PCs and commoners, defends other merchants and defenders, and attacks hostile.

See Also

functions: ChangeToStandardFaction | GetStandardFactionReputation | SetStandardFactionReputation