Skip to main content

FB1LifeTriggerInfo

Overview

  • Structure that defines configuration for a life trigger event. Specifies aging conditions, popups, timing, interaction, and death-related scripts for life events.

Metadata

FieldValue
Kindstruct
EnvironmentB1 - Presentation
Categorystructs

Properties (11)

NameTypeDescription
AgingConditionFlagsintegerBitmask of aging (growth step) conditions that activate this trigger.
AlertDelayTimenumberDelay time in seconds before the alert popup is shown after the trigger fires.
AlertPopupIdstringPopup ID shown when the alert phase of this trigger begins.
DeathReasonTextIdstringText ID for the death cause phrase injected into the obituary message. Empty omits the cause. Fill only when IsDeathTrigger is true.
EndPopupIdstringPopup ID shown when this trigger reaches its end phase.
FromAlertTimeToEndnumberTime in seconds from the alert phase to the trigger's end phase.
IsDeathTriggerbooleanWhether this trigger results in the character's death.
OnDeathScriptIdsstring[]Script IDs executed on death; runs for all relationship-registered entities.
OnDeathSiteActionIdstringSite action ID executed once on death, based on the character's registered residential site.
TriggerInteractionIdstringInteraction bag ID executed when this trigger fires (references InteractionBag.Id).
TriggerScriptIdstringScript ID executed when this trigger fires (references Script_Life.Id).