Skip to main content

Condition_IsHouseholdBizEmployee

Description

Returns whether the BaseObject is an Employee of their main HouseholdBiz. This condition is profile-based (not site-based): it resolves the Character’s HouseholdBizProfile, loads the Biz using MainHouseholdBizId, and checks employee membership via B2HouseholdBizHelper::IsEmployeeOf. If S1 is "CheckHouseholdMember", it checks all household members instead of only the BaseObject. Returns false if the BaseObject is not a valid Character or the profile does not reference a valid Biz.

Note

This condition uses bExcludeManager = true, so the manager is not treated as an employee.

Parameters

ParameterDescription
BaseObjectA Character whose HouseholdBizProfile is checked (or a household member if S1 is "CheckHouseholdMember").
CompareTypeEqual: true if the BaseObject (or a household member) is an employee. NotEqual: true if not.
S1Optional. Set to "CheckHouseholdMember" to check all household members instead of only BaseObject; omit otherwise.

Examples

DescriptionBaseObjectCommandCompareType
Check if Self is an employee of their main HouseholdBizSelfIsHouseholdBizEmployeeEqual
Check if Target is not an employee of their main HouseholdBizTargetIsHouseholdBizEmployeeNotEqual
Check if any household member of Self is a biz employeeSelfIsHouseholdBizEmployeeEqual