Condition_IsCareerHighestRankSeat
Description
Checks if the target seat object is registered at the highest rank of its job. Resolves the seat to its root object via ObjectGrouping. Resolves the career via the character's CareerComponent using the career type specified by S1. Compares the seat's registered rank against the maximum rank defined in CachedJobData.RankList for that job.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character (Self/Target). NonBase is the seat object to check. |
| CompareType | Equal (is highest rank seat) or NotEqual (is not highest rank seat). |
| S1 | EB1CareerType (e.g., Business, School). Defaults to Business if omitted. |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if seat is highest rank seat | Self | IsCareerHighestRankSeat | Equal |
| Check if seat is not highest rank | Self | IsCareerHighestRankSeat | NotEqual |
Notes
- Returns false for invalid entity/component states (unregistered object, not enrolled in career, etc.) regardless of CompareType.
- For all other cases, NotEqual returns the inverse of Equal.
Back to Command FinderSearch and filter all 491 Script Condition documents