Skip to main content

Condition_IsHighestLevelOperatedHouseholdBiz

Description

Checks whether the highest HouseholdBiz level among all businesses owned by the BaseObject's household satisfies a comparison against the value provided in F1. The highest level is found by iterating all HouseholdBiz entities owned by the household. F1 is rounded to the nearest integer before comparison. Returns false if the household has no businesses or if the highest level cannot be determined.

Parameters

ParameterDescription
BaseObjectA Character belonging to a household whose owned HouseholdBiz entities are inspected.
CompareTypeEqual, NotEqual, Greater, Less, GreaterOrEqual, or LessOrEqual comparison against F1.
F1The expected highest HouseholdBiz level as a numeric value (float). Rounded to the nearest integer before comparison.

Examples

DescriptionBaseObjectCommandCompareType
Check if Self's household highest biz level equals 3SelfIsHighestLevelOperatedHouseholdBizEqual
Check if Self's household highest biz level is greater than 2SelfIsHighestLevelOperatedHouseholdBizGreater
Check if Target's household highest biz level is at most 5TargetIsHighestLevelOperatedHouseholdBizLessOrEqual
Check if Self's household highest biz level is not 1SelfIsHighestLevelOperatedHouseholdBizNotEqual