Skip to main content

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

ParameterDescription
BaseObjectTarget GameObject to remove the state from
S1State Group ID to remove from
S2State ID to remove

Examples

DescriptionBaseObjectCommandS1S2
Remove Broken state from TargetTargetRemoveStateNormalBroken
Remove fire state from TargetTargetRemoveStateFireOnFire
Remove Wet state from SelfSelfRemoveStateWeatherWet