Execute_RemoveState
Description
Removes a specific state from the BaseObject's state group. Both S1 and S2 must be specified; if either is None, no action is taken.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Target GameObject to remove the state from |
| S1 | State Group ID to remove from |
| S2 | State ID to remove |
Examples
| Description | BaseObject | Command | S1 | S2 |
|---|---|---|---|---|
| Remove Broken state from Target | Target | RemoveState | Normal | Broken |
| Remove fire state from Target | Target | RemoveState | Fire | OnFire |
| Remove Wet state from Self | Self | RemoveState | Weather | Wet |