Skip to main content

Condition_State

Description

Checks whether the state of a game object matches the specified state condition. This condition evaluates the state of the BaseObject game object, which can be either Self or Target. The state group and state to be checked are defined by State Variation data.

Parameters

ParameterDescription
BaseObjectThe game object (Self or Target) whose state is checked
CompareTypeType of comparison operation (Equal / NotEqual)
S1State group to check. See StateVariation data
S2State to check within the specified state group

Examples

DescriptionBaseObjectCommandCompareTypeS1S2
Checks whether the target game object is in the Fire stateTargetStateEqualFireFire
Checks whether the self game object is NOT in the Fire stateSelfStateNotEqualFireFire