Skip to main content

B1LifeTriggerInfo

  • Structure that defines configuration for a life trigger event.
    * Specifies aging conditions, popups, timing, interaction, and death-related scripts for life events.
PropertyTypeDescriptionMetadata
AgingConditionFlagsint32Bitmask of aging (growth step) conditions that activate this trigger.Category: B1LifeTriggerInfo
AlertPopupIdFNamePopup ID shown when the alert phase of this trigger begins.Category: B1LifeTriggerInfo
Foreign: Popup.Id
EndPopupIdFNamePopup ID shown when this trigger reaches its end phase.Category: B1LifeTriggerInfo
Foreign: Popup.Id
AlertDelayTimefloatDelay time in seconds before the alert popup is shown after the trigger fires.Category: B1LifeTriggerInfo
ClampMin: 0
FromAlertTimeToEndfloatTime in seconds from the alert phase to the trigger's end phase.Category: B1LifeTriggerInfo
ClampMin: 0
IsDeathTriggerboolWhether this trigger results in the character's death.Category: B1LifeTriggerInfo
DeathReasonTextIdFStringText ID for the death cause phrase injected into the obituary message. Empty omits the cause. Fill only when IsDeathTrigger is true.Category: B1LifeTriggerInfo
TriggerInteractionIdFNameInteraction bag ID executed when this trigger fires (references InteractionBag.Id).Category: B1LifeTriggerInfo
Foreign: InteractionBag.Id
TriggerScriptIdFNameScript ID executed when this trigger fires (references Script_Life.Id).Category: B1LifeTriggerInfo
Foreign: Script_Life.Id
OnDeathScriptIdsTArrayScript IDs executed on death; runs for all relationship-registered entities.Category: B1LifeTriggerInfo
Foreign: Script_Life.Id
OnDeathSiteActionIdFNameSite action ID executed once on death, based on the character's registered residential site.Category: B1LifeTriggerInfo
Foreign: SiteAction.Id