Skip to main content

FB1TraitScript

Overview

  • Defines a script block for a trait, specifying entry type, check interval, proximity constraints, triggers, conditions, and executes.

Metadata

FieldValue
Kindscript
EnvironmentB1 - Presentation
Categoryscripts

Properties (8)

NameTypeDescription
CheckIntervalnumberInterval in seconds between successive evaluations of this script.
CircleConstraintSquarednumberSquared radius of the proximity circle constraint used for character proximity checks.
ConditionsFB1Condition[]Conditions that must all be satisfied for this trait script to execute.
EventTriggersFB1TraitEventTrigger[]List of event triggers that can activate this trait script.
ExecutesFB1Execute[]List of actions executed when all conditions and triggers are satisfied.
NeedCharacterCountintegerMinimum number of other characters required within range for this script to activate.
RequiredTriggerCountinteger(AccumulatedTrigger only) Number of triggers required within a single in-game day before firing Executes[0]. Counter resets at day boundary.
TraitEntryTypeEB1TraitEntryTypeEntry type that controls when and how this trait script is evaluated.