Class

RezFaction

RezFaction()

Constructor

# new RezFaction()

Represents a faction or group affiliation in the Rez game engine. Factions can be used to organize actors, track reputation, implement conflict systems, or manage group-based game mechanics. Faction objects can have attributes like reputation values, member lists, or faction-specific behaviors.

View Source rez_faction.js, line 5

Extends

Methods

# static constructor(id, attributes)

Creates a new faction instance

Parameters:
Name Type Description
id string

unique identifier for this faction

attributes object

faction attributes from Rez compilation

View Source rez_faction.js, line 15