Condition_IsChangeableState
Description
Checks whether the target object can have a specific state.
This condition evaluates if the BaseObject is capable of entering the specified state.
The state group and state to be checked are defined by State Variation data.
Parameters
| Parameter | Description |
|---|
| BaseObject | The game object to check the condition against |
| CompareType | Type of comparison operation (Equal / NotEqual) |
| S1 | StateGroup Id of the target. See State Variation data |
| S2 | State Id to compare within the S1 group. See State Variation data |
Examples
| Description | BaseObject | Command | CompareType | S1 | S2 |
|---|
| Checks whether the target can have the Broken state | Target | IsChangeableState | Equal | Broken | Broken |
| Checks whether the target cannot have the Broken state | Target | IsChangeableState | NotEqual | Broken | Broken |
| Checks whether the target can have the Fire state | Target | IsChangeableState | Equal | Fire | Fire |