Condition_PostureCategory
Description
Checks if the current posture of the BaseObject belongs to the specified posture category. Looks up the PostureCategory table row by S1, then checks if the entity's current PostureId is contained in that category's PostureIdList.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The entity whose posture state is checked (Self or Target). |
| CompareType | Supported compare types: Equal, NotEqual. |
| S1 | PostureCategory Id to check against (e.g., Stand, Sit, Sleep). |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Check if Self is in Sit category | Self | PostureCategory | Equal |
| Check if Self is not in Sit category | Self | PostureCategory | NotEqual |
| Check if Target is in Stand category | Target | PostureCategory | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents