Skip to main content

StatKeyModel_SrcSep

A StatKeyModel_SrcSep addresses one Actor's copy inside a Source Separated Stat: the SrcSep Stat's Environment / Container / Stat, plus which Actor's inner Stat.

A normal key to a SrcSep Stat reads the combined value and writes the Effect Source's copy. A SrcSep key picks the Actor:

Used asEffect
An Effect's Target Statchanges that Actor's copy — gossip about Alex makes her angry at Alex, not at the speaker
A Stat From in a condition, scaler or adapterreads that Actor's copy — is she angry at the Source?
A Default Value Override on an Actorgives a known Actor's copy its own starting value (with Use Actor Id)

Anything that resolves the key without an interaction (no Source / Target to pick from) gets the SrcSep Stat itself.

Fields​

FieldDescription
EnvironmentThe Environment Id of the SrcSep Stat.
ContainerThe Container Id of the SrcSep Stat.
StatThe Stat Id of the SrcSep Stat.
Use Actor IdOff: the copy belongs to an interaction Actor (Src Actor). On: the copy belongs to the static Actor with Actor Id (Player, a boss…), found through PowerWorld.GetActor.
Actor IdThe static Actor whose copy is addressed. Actor Ids are added in Power Editor › Enums › ActorId and given to an Actor with its Predefined Instance Id.
Src ActorThe interaction Actor whose copy is addressed: Source, Target, Trigger Actor, Effector, Custom…
Src Custom ActorThe Custom Actor when Src Actor is Custom.

When the addressed Actor has no copy yet, one is created from the SrcSep Stat's Inner Stat Definition with its default value.