Skip to main content

Condition_CanGreetCustomer

Description

Checks whether the target host character can greet the visiting customer (Self) at the door. This condition is only valid when the script reason is Coop. All of the following must be satisfied: the host must be in the same site as the door and must live there, the host must not be in the same zone as the customer, the host must have permission to open the door, and the host must be able to reach the greeting slot via pathfinding.

Parameters

ParameterDescription
BaseObjectThe customer character who is knocking at the door (Self).

Examples

DescriptionBaseObjectCommand
Check if the host can greet a customer knocking at the doorSelfCanGreetCustomer
Validate that the host is at home and has permission to open the doorSelfCanGreetCustomer
Verify the host can reach the greeting slot via pathfindingSelfCanGreetCustomer