Skip to main content

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

ParameterDescription
BaseObjectThe character (Self/Target). NonBase is the seat object to check.
CompareTypeEqual (is highest rank seat) or NotEqual (is not highest rank seat).
S1EB1CareerType (e.g., Business, School). Defaults to Business if omitted.

Examples

DescriptionBaseObjectCommandCompareType
Check if seat is highest rank seatSelfIsCareerHighestRankSeatEqual
Check if seat is not highest rankSelfIsCareerHighestRankSeatNotEqual

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.