[Cond]_OccupyingSlotByPosture¶
Overview¶
- Checks whether the Self character is in a specific posture (S1) and is occupying the slot of the Target object using that posture.
Parameter¶
| Params | Description | 
|---|---|
| Command | OccupyingSlotByPosture | 
| CompareType | Behavior depends on comparison type: | 
| - Equal: Returns trueonly if Self's posture matchesS1and the Target is occupied via that posture | |
| - NotEqual: Returns trueif posture does not matchS1, or posture matches but Target is not the posture slot | |
| S1 | Self character's posture type ( EB1PostureType) to compare:• Stand • Sit • Sleep • Vehicle • Lay • Carried | 
Examples¶
| Example Description | BaseObject | Command | CompareType | S1 | S2 | F1 | F2 | 
|---|---|---|---|---|---|---|---|
| If Self is in Sitposture and Target is the posture target | Self | OccupyingSlotByPosture | Equal | Sit | |||
| If Self is NOT in Sitposture, or is inSitbut Target is not the posture slot | Self | OccupyingSlotByPosture | NotEqual | Sit |