Skip to main content

Condition_IsAssignedRestaurantSeat

Description

Checks whether BaseObject is the specific customer assigned and guided (activated) to the NonBaseObject restaurant seat/chair (BL-58467, R-04). Returns true only once the assignment has been activated via Execute_ActivateAssignedRestaurantTable - a pending-but-not-yet-guided assignment does not pass. Intended to gate the actual sit-down interaction: once a table's seats are opened (Restricted lifted), only the specific guided customer - not another autonomous character or a manually-possessed customer who happens to click the same open chair - should be allowed to occupy it.

Note

Resolves the seat's HouseholdBiz via NonBaseObject's located site, not BaseObject's - the seat (a game object) is always the authority for which restaurant it belongs to.

Parameters

ParameterDescription
BaseObjectSelf is the character attempting to sit; NonBaseObject is the seat (chair) object
CompareTypeEqual: true if BaseObject is the seat's guided assignee. NotEqual: true otherwise.

Examples

DescriptionBaseObjectCommandCompareType
Only let the assigned, guided customer sit at their seatSelfIsAssignedRestaurantSeatEqual