Condition_HouseholdBizRoleTargetSite
Description
Checks whether the BaseObject Character has a specific HouseholdBiz role at the site where the Script Target (an object or actor inside the HouseholdBiz) is located. Unlike Condition_HouseholdBizRole, this condition resolves the HouseholdBiz via the Target's located site rather than the BaseObject's located site.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The Character whose role is evaluated against the HouseholdBiz resolved from Target's site. |
| CompareType | Equal: true if the Character's role matches S1. NotEqual: true if the role does not match S1. |
| S1 | HouseholdBiz role name to compare against: Customer, Employee, or Manager. |
| S2 | None includes all business types; ExcludeAccommodation returns false for accommodation businesses. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self is the Manager of the biz at the Target's site | Self | HouseholdBizRoleTargetSite | Equal |
| Check if Self is not an Employee of the biz at the Target's site | Self | HouseholdBizRoleTargetSite | NotEqual |
| Check if Self is a Customer at the biz resolved from Target's site | Self | HouseholdBizRoleTargetSite | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents