Skip to main content

B1TraitScript

  • Defines a script block for a trait, specifying entry type, check interval, proximity constraints, triggers, conditions, and executes.
PropertyTypeDescriptionMetadata
TraitEntryTypeEB1TraitEntryTypeEntry type that controls when and how this trait script is evaluated.Category: B1TraitScript
CheckIntervalfloatInterval in seconds between successive evaluations of this script.Category: B1TraitScript
ClampMin: 0
NeedCharacterCountint32Minimum number of other characters required within range for this script to activate.Category: B1TraitScript
ClampMin: 0
CircleConstraintSquaredfloatSquared radius of the proximity circle constraint used for character proximity checks.Category: B1TraitScript
EventTriggersTArrayList of event triggers that can activate this trait script.Category: B1TraitScript
ConditionsTArrayConditions that must all be satisfied for this trait script to execute.Category: B1TraitScript
ExecutesTArrayList of actions executed when all conditions and triggers are satisfied.Category: B1TraitScript
RequiredTriggerCountint32(AccumulatedTrigger only) Number of triggers required within a single in-game day before firing Executes[0]. Counter resets at day boundary.Category: B1TraitScript
ClampMin: 1