Makes all targets change to the specified state number.
Required parameters:
- value = state_no (int)
Specifies the number of the state to change the targets to.
Optional parameters:
- ID = target_id (int)
Specifies the desired target ID to affect. Only targets with this target ID will be affected. Defaults to -1 (affects all targets.)
Examples: