Skip to main content

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

ParameterDescription
BaseObjectThe Character whose role is evaluated against the HouseholdBiz resolved from Target's site.
CompareTypeEqual: true if the Character's role matches S1. NotEqual: true if the role does not match S1.
S1HouseholdBiz role name to compare against: Customer, Employee, or Manager.
S2None includes all business types; ExcludeAccommodation returns false for accommodation businesses.

Examples

DescriptionBaseObjectCommandCompareType
Check if Self is the Manager of the biz at the Target's siteSelfHouseholdBizRoleTargetSiteEqual
Check if Self is not an Employee of the biz at the Target's siteSelfHouseholdBizRoleTargetSiteNotEqual
Check if Self is a Customer at the biz resolved from Target's siteSelfHouseholdBizRoleTargetSiteEqual