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
| Parameter | Description |
|---|---|
| BaseObject | The customer character who is knocking at the door (Self). |
Examples
| Description | BaseObject | Command |
|---|---|---|
| Check if the host can greet a customer knocking at the door | Self | CanGreetCustomer |
| Validate that the host is at home and has permission to open the door | Self | CanGreetCustomer |
| Verify the host can reach the greeting slot via pathfinding | Self | CanGreetCustomer |
Back to Command FinderSearch and filter all 491 Script Condition documents