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
| Parameter | Description |
|---|---|
| BaseObject | The character to check (must be Self). |
| CompareType | Supported compare types: Equal, NotEqual. |
| S1 | Optional. "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
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Gate enqueue when no protected child is nearby | Self | HasBlockingChildNearby | NotEqual | |
| Check whether a protected child is nearby | Self | HasBlockingChildNearby | Equal | |
| Gate enqueue, but ignore the child Self is currently carrying | Self | HasBlockingChildNearby | NotEqual | ExceptSelfHeldChild |