Skip to main content

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

ParameterDescription
BaseObjectA Character located at a HouseholdBiz site whose role-based Activity Tag list is checked.
CompareTypeEqual: true if the Activity Tag list contains S1. NotEqual: true if it does not.
S1The Activity Tag (InteractionBagTag) to check for in the Character's role-based activity list.

Examples

DescriptionBaseObjectCommandCompareType
Check if Self's activity list contains the tag "Greet"SelfHasHouseholdBizActivityTagEqual
Check if Target's activity list does not contain the tag "Serve"TargetHasHouseholdBizActivityTagNotEqual
Check if Self (as employee) has the "CleanTable" activity tagSelfHasHouseholdBizActivityTagEqual