Skip to main content

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

ParameterDescription
BaseObjectThe entity whose posture state is checked (Self or Target).
CompareTypeSupported compare types: Equal, NotEqual.
S1PostureCategory Id to check against (e.g., Stand, Sit, Sleep).

Examples

DescriptionBaseObjectCommandCompareType
Check if Self is in Sit categorySelfPostureCategoryEqual
Check if Self is not in Sit categorySelfPostureCategoryNotEqual
Check if Target is in Stand categoryTargetPostureCategoryEqual