Condition_CareerRank
Description
Checks the current career rank of the BaseObject character. Compares the character's career rank against the specified value(s) using CompareType. When the career type is Business, an Idol career is checked instead (idol trainees, idols and agency staff count as employed).
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character whose career rank will be checked. |
| CompareType | Comparison operator (Equal, NotEqual, Greater, GreaterOrEqual, Less, LessOrEqual, InRange, OutRange). |
| S1 | EB1CareerType to check (e.g., Business, School); defaults to Business if omitted. |
| F1 | Rank value to compare against. |
| F2 | Upper bound rank value for range comparisons (InRange, OutRange). |
Examples
| Description | BaseObject | Command | CompareType | S1 | F1 | F2 |
|---|---|---|---|---|---|---|
| Check if Business career rank is exactly 3 | Self | CareerRank | Equal | 3 | ||
| Check if Business career rank is 3 or higher | Self | CareerRank | GreaterOrEqual | 3 | ||
| Check if Business career rank is between 2-5 | Self | CareerRank | InRange | 2 | 5 | |
| Check if School career rank is exactly 1 | Self | CareerRank | Equal | School | 1 |
Back to Command FinderSearch and filter all 491 Script Condition documents