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
| Parameter | Description |
|---|---|
| BaseObject | Self is the character to check occupancy for; Target is the child object whose parent holds the chair slot. |
| CompareType | Supported compare types: Equal (is occupying), NotEqual (is not occupying). |
| S1 | Posture type to check for the Self entity (PostureCategory FName, e.g., Sit). |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self is sitting in the chair connected to Target's parent object | Self | OccupyingConnectedChairByPosture | Equal |
| Check if Self is not sitting in the chair connected to Target's parent object | Self | OccupyingConnectedChairByPosture | NotEqual |
| Check if Self occupies the connected chair slot with Stand posture | Self | OccupyingConnectedChairByPosture | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents