Skip to main content

Condition_HasBlockingChildNearby

Description

Checks whether a protected child (baby/child, or a character holding one) is within the BaseObject's front detection zone. Used to gate harmful interactions (e.g. attacks) near children at enqueue time. Detection zone geometry comes from UB1InteractionDataAsset.ChildBlockCheck*.

Parameters

ParameterDescription
BaseObjectThe character to check (must be Self).
CompareTypeSupported compare types: Equal, NotEqual.
S1Optional. "ExceptSelfHeldChild" excludes the child BaseObject is currently carrying
from the scan (e.g. throwing/attacking while holding a baby). Any other value/empty
keeps the self-held child in the scan (e.g. diving should still be blocked).

Examples

DescriptionBaseObjectCommandCompareTypeS1
Gate enqueue when no protected child is nearbySelfHasBlockingChildNearbyNotEqual
Check whether a protected child is nearbySelfHasBlockingChildNearbyEqual
Gate enqueue, but ignore the child Self is currently carryingSelfHasBlockingChildNearbyNotEqualExceptSelfHeldChild