Skip to main content

Condition_CanKnockDoorAtExteriorEntrance

Description

Script condition function to check whether Self can start the normal knock-door flow at the Target door. The door must belong to a Residence and connect to a cached outer-ground Zone, while Self must not be inside that building.

Parameters

ParameterDescription
BaseObjectMust be Self
CompareTypeEqual returns the eligibility result; NotEqual returns its inverse

Notes

Target is resolved from the script context and must be an FB2DoorObject. Required Guest/Host interaction slots are validated by the interaction data and asset setup.

Examples

DescriptionBaseObjectCommandCompareType
Show knock-door at an exterior Residence doorSelfCanKnockDoorAtExteriorEntranceEqual
Hide the interaction when the door is eligibleSelfCanKnockDoorAtExteriorEntranceNotEqual