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
| Parameter | Description |
|---|---|
| BaseObject | Must be Self |
| CompareType | Equal 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
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Show knock-door at an exterior Residence door | Self | CanKnockDoorAtExteriorEntrance | Equal |
| Hide the interaction when the door is eligible | Self | CanKnockDoorAtExteriorEntrance | NotEqual |