Skip to main content

UB1LifeDataAsset

Overview

  • Data asset that holds global configuration for the life system. Covers marriage, pregnancy, childbirth, life trigger alerts, and traffic accident settings.

Metadata

FieldValue
Kindclass
EnvironmentB1 - Presentation
Categoryclasses
ExtendsUB1DataAssetBase

Properties (21)

NameTypeDescription
BabyAttachSlotNamestringSlot name in the cradle blueprint to which the baby is spawned and attached.
BlockCityTravelStatestringThreshold pregnancy state (a PregnancyStates.Id) that blocks city move/travel: this state and every state after it in the progression are blocked. None means never blocked.
ChildInitPostureIdstringInitial posture ID assigned to newborn children.
CoopMarriageInteractionTagNamestringInteraction tag name for cooperative marriage interactions.
DefaultCradleObjectIdstringObject ID of the default cradle used during childbirth.
FinishPregnancyLifeTriggerIdstringLife trigger executed only when pregnancy is successfully completed (i.e., childbirth) Life trigger ID executed only when pregnancy completes successfully (childbirth).
FinishPregnancyScriptIdstringScript triggered when pregnancy ends, either by completion or cancellation Script ID executed when pregnancy ends (either by childbirth or cancellation).
HealthDeathLifeTriggerIdstringLife trigger ID fired when a character's Health stat reaches 0 (death by HP depletion).
IsEnableFamilyAlertMessagebooleanWhether to display life-trigger alert messages (the first alert message) for the player's family members as well, not just the player.
MarriageInteractionTagNamestringInteraction tag name for the marriage interaction.
MarriageOrConditionIdsstring[]List of OR-combined condition IDs required for marriage to proceed.
PostMarriageMovePopupIdstringPopup ID shown after a post-marriage move event.
PregnancyBodyMorphGroupstringName of the morph group used to apply pregnancy-related body changes (e.g., belly expansion) Name of the body morph group used to apply belly expansion during pregnancy.
PregnancyStatesFB1PregnancyStateInfo[]Ordered list of pregnancy progression states Ordered list of pregnancy state info entries defining the pregnancy progression.
StartPregnancyScriptIdstringScript triggered at the start of pregnancy Script ID executed when pregnancy begins.
TrafficAccidentProbabilitynumberProbability (0-100) that a traffic accident results in a life trigger event.
TriggerResetCooltimenumberCooldown time in seconds before the traffic accident trigger can fire again.
TriggeredVehicleVelocitynumberMinimum vehicle velocity (in Unreal units) to trigger a traffic accident life event.
WeddingCarAssetPathFSoftObjectPathSoft path to the wedding car blueprint asset.
WeddingCarObjectIdstringObject ID of the wedding car used in marriage events.
WeddingCarStayTimenumberDuration in seconds the wedding car stays at the scene.