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
| Parameter | Description |
|---|---|
| BaseObject | A Character whose HouseholdBizProfile is checked (or a household member if S1 is "CheckHouseholdMember"). |
| CompareType | Equal: true if the BaseObject (or a household member) is an employee. NotEqual: true if not. |
| S1 | Optional. Set to "CheckHouseholdMember" to check all household members instead of only BaseObject; omit otherwise. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self is an employee of their main HouseholdBiz | Self | IsHouseholdBizEmployee | Equal |
| Check if Target is not an employee of their main HouseholdBiz | Target | IsHouseholdBizEmployee | NotEqual |
| Check if any household member of Self is a biz employee | Self | IsHouseholdBizEmployee | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents