Skip to main content

Linker

You can find a video tutorial for Linkers ▶ here.

Linkers are processed like any other Effect. After being processed, the referenced Linker Model is added to the target Stat.

A Linker behaves similarly to an Injector, except that its value is obtained dynamically from another Stat instead of being predefined. This allows two Stats to be linked, so changes to the source Stat are automatically reflected when the target Stat is updated.

Like Injectors, Linkers are applied during the Stat update process according to their Injection Order.

Fields​

This Linker inherits all fields from Effect.

FieldDescription
Injector StatThe Stat whose value is used by the Linker.
Injection OrderDetermines the execution order of the Linker. Linkers with lower values are applied first, while those with higher values are applied later during the Stat update.
InjectorThe referenced Linker Model that defines how the linked Stat value modifies the target Stat.
The Injector Stat is a Stat From: it can read the Stat from the Source, the Target or another interaction Actor, so a Linker Effect can link Stats of two different Actors or two different Environments.

Linker Effects are usually Temporary with Managed By Code, placed in an Actor's Effect Bundle Stat, so the link lives exactly as long as the Actor. The link is removed when the Effect's Modifier ends or the Injector Stat is disposed.

See Linker Model for the available Linkers.