Skip to main content

Condition_OccupyingConnectedChairByPosture

Description

Checks if Self is occupying a chair slot connected to the parent object of Target while in the specified posture. This traverses from the Target entity up to its parent object and checks the connected chair slot for Self's occupancy with a Posture reason.

Parameters

ParameterDescription
BaseObjectSelf is the character to check occupancy for; Target is the child object whose parent holds the chair slot.
CompareTypeSupported compare types: Equal (is occupying), NotEqual (is not occupying).
S1Posture type to check for the Self entity (PostureCategory FName, e.g., Sit).

Examples

DescriptionBaseObjectCommandCompareType
Check if Self is sitting in the chair connected to Target's parent objectSelfOccupyingConnectedChairByPostureEqual
Check if Self is not sitting in the chair connected to Target's parent objectSelfOccupyingConnectedChairByPostureNotEqual
Check if Self occupies the connected chair slot with Stand postureSelfOccupyingConnectedChairByPostureEqual