Condition_OccupyingSlotByPosture
Description
Checks if the Self entity is occupying a Posture-reason Interaction slot on the Target entity while in the specified posture. The Self entity's current posture must match S1, and Self must occupy an Interaction slot on Target with Posture as the occupying reason.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Not used to resolve the entity; Self is always the occupying entity, Target is the object. |
| CompareType | Supported compare types: Equal (is occupying), NotEqual (is not occupying). |
| S1 | Posture type to check for the Self entity (PostureCategory FName, default: Stand). |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self is occupying a Sit-posture slot on Target | Self | OccupyingSlotByPosture | Equal |
| Check if Self is not occupying a Sit-posture slot on Target | Self | OccupyingSlotByPosture | NotEqual |
| Check if Self is occupying a Stand-posture slot on Target | Self | OccupyingSlotByPosture | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents