Skip to main content

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

ParamsDescription
BaseObjectSeat game object to check. Self uses the self entity, Target uses target.
CommandIsCareerSeatAssigned.
CompareTypeEqual returns true when the seat has an assigned member. NotEqual returns
true when the seat has no assigned member.
S1Career 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

DescriptionBaseObjectCommandCompareTypeS1
Check if a School locker is already assignedTargetIsCareerSeatAssignedEqualSchool
Check if a Business seat is emptyTargetIsCareerSeatAssignedNotEqualBusiness