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
| Parameter | Description |
|---|
| BaseObject | The game object (Self or Target) whose state is checked |
| CompareType | Type of comparison operation (Equal / NotEqual) |
| S1 | State group to check. See StateVariation data |
| S2 | State to check within the specified state group |
Examples
| Description | BaseObject | Command | CompareType | S1 | S2 |
|---|
| Checks whether the target game object is in the Fire state | Target | State | Equal | Fire | Fire |
| Checks whether the self game object is NOT in the Fire state | Self | State | NotEqual | Fire | Fire |