Condition_HouseholdBizRole
Description
Returns whether the given Character's HouseholdBiz role matches the specified Role. The role is evaluated based on the HouseholdBiz linked to the Site the Character is currently located at.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The Character whose current site-based HouseholdBiz role is checked. |
| CompareType | Equal: true if the Character's role matches S1. NotEqual: true if the role does not match S1. |
| S1 | HouseholdBiz role to compare against: Customer, Employee, or Manager. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self is a Customer at the current biz site | Self | HouseholdBizRole | Equal |
| Check if Target is not an Employee at the biz site | Target | HouseholdBizRole | NotEqual |
| Check if Self is the Manager at the current biz site | Self | HouseholdBizRole | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents