Condition_HasHouseholdBizActivityTag
Description
Returns whether the BaseObject Character's Activity Tag list (based on their HouseholdBiz role) contains the Activity Tag specified in S1. The Character's role (Manager, Employee, or Customer) is determined at their current HouseholdBiz site, and their respective Activity Tag list is checked. Returns false if the Character is not associated with any HouseholdBiz at their current site. A directly working Manager with no configured activities falls back to the union of the business's employee activities, but only when BaseObject is Self.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | A Character located at a HouseholdBiz site whose role-based Activity Tag list is checked. |
| CompareType | Equal: true if the Activity Tag list contains S1. NotEqual: true if it does not. |
| S1 | The Activity Tag (InteractionBagTag) to check for in the Character's role-based activity list. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self's activity list contains the tag "Greet" | Self | HasHouseholdBizActivityTag | Equal |
| Check if Target's activity list does not contain the tag "Serve" | Target | HasHouseholdBizActivityTag | NotEqual |
| Check if Self (as employee) has the "CleanTable" activity tag | Self | HasHouseholdBizActivityTag | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents