Condition_IsCareerSeatAssigned
Description
Script condition function to check whether a career seat already has an assigned member. Resolves the seat object to its ObjectGrouping root, then looks up the career for the seat's located site and the career type specified by S1.
Parameters
| Params | Description |
|---|---|
| BaseObject | Seat game object to check. Self uses the self entity, Target uses target. |
| Command | IsCareerSeatAssigned. |
| CompareType | Equal returns true when the seat has an assigned member. NotEqual returns |
| true when the seat has no assigned member. | |
| S1 | Career type used to resolve the site career. None defaults to Business. |
Notes
- The checked seat is resolved from BaseObject, not from the implicit target.
- ObjectGrouping child objects are normalized to their root entity before lookup.
- The career is resolved by the seat object's located site and S1 career type.
- Returns false when the seat object, site, career manager, or career cannot be resolved.
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Check if a School locker is already assigned | Target | IsCareerSeatAssigned | Equal | School |
| Check if a Business seat is empty | Target | IsCareerSeatAssigned | NotEqual | Business |
Back to Command FinderSearch and filter all 491 Script Condition documents