Skip to main content

UB1SubActionDataAsset

Overview

  • Data asset for the sub-action system, configuring greetings, avoidance, talk, and shoe handling behaviors.

Metadata

FieldValue
Kindaction
EnvironmentB1 - Presentation
Categoryactions
ExtendsUB1DataAssetBase

Properties (21)

NameTypeDescription
AvoidanceAnimIdstable<EB1AvoidanceType, string>A map of avoidance direction types to their corresponding animation IDs.
AvoidanceFacingAnglenumberThe angle determining which direction is considered "facing" for avoidance.
AvoidanceRadiusnumberThe radius within which avoidance sub-actions are triggered.
AvoidanceReactionAnimIdsstring[]The list of reaction animation IDs played when avoiding a character.
AvoidanceVehicleReactionAnimIdsstring[]The list of reaction animation IDs played when avoiding a vehicle.
GreetingAnglenumberThe field-of-view angle within which a greeting sub-action can be triggered.
GreetingAnimIdsstring[]The list of animation IDs available for greeting animations.
GreetingCoolTimenumberThe cooldown in in-game seconds between greeting sub-actions.
GreetingRadiusnumberThe radius within which a greeting sub-action can be triggered.
GreetingRatenumberThe probability that a greeting sub-action fires when conditions are met.
PlayAnimMaptable<string, FB1SubActionAnimData>A map of named play-anim entries to their animation data configurations.
PutOnShoesScriptIdsstring[]The list of script IDs executed when shoes are put back on.
TakeOffShoesAnimIdstringThe animation ID played when a character takes off their shoes.
TakeOffShoesOutfitIdstringThe outfit ID applied when the take-off-shoes animation plays.
TakeOffShoesScriptIdsstring[]The list of script IDs executed when shoes are taken off.
TalkAnglenumberThe field-of-view angle within which a talk sub-action can be triggered.
TalkCoolTimenumberThe cooldown in in-game seconds between talk sub-actions.
TalkInteractionBagIdstable<string, number>A map of interaction bag IDs to their talk probability weights.
TalkRadiusnumberThe radius within which a talk sub-action can be triggered.
TalkRatenumberThe probability that a talk sub-action fires when conditions are met.
UnrelatedTargetTalkRatenumberThe probability that a talk sub-action fires with an unrelated target.