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
| Parameter | Description |
|---|---|
| BaseObject | A Character belonging to a household whose owned HouseholdBiz entities are inspected. |
| CompareType | Equal, NotEqual, Greater, Less, GreaterOrEqual, or LessOrEqual comparison against F1. |
| F1 | The expected highest HouseholdBiz level as a numeric value (float). Rounded to the nearest integer before comparison. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self's household highest biz level equals 3 | Self | IsHighestLevelOperatedHouseholdBiz | Equal |
| Check if Self's household highest biz level is greater than 2 | Self | IsHighestLevelOperatedHouseholdBiz | Greater |
| Check if Target's household highest biz level is at most 5 | Target | IsHighestLevelOperatedHouseholdBiz | LessOrEqual |
| Check if Self's household highest biz level is not 1 | Self | IsHighestLevelOperatedHouseholdBiz | NotEqual |
Back to Command FinderSearch and filter all 491 Script Condition documents