Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Docs/COG/Functions-Thing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2274,15 +2274,15 @@ Returns:
#### SetThingStateChange

```C++
SetThingStateChange(Thing thing, int type, int param)
SetThingStateChange(Thing thing, int state, int type)
```

Stores a pending actor/player state-change request on `thing`.

Parameters:
- `thing`: Actor or player thing whose state-change payload should be updated.
- `state`: State payload value written into `stateChange.params.moveFlags`. When `type` is [Actor State-Change Types](Types-And-Modes.md#actor-state-change-types) `SITHACTORSTATECHANGE_ANIMMOVE`, this is typically a combination of [Actor Special-Move Flags](Flags.md#actor-special-move-flags). When `type` is `SITHACTORSTATECHANGE_ARMEDMODE`, this is a [Puppet Armed Modes](Types-And-Modes.md#puppet-armed-modes) value.
- `type`: State-change type selector. See [Actor State-Change Types](Types-And-Modes.md#actor-state-change-types).
- `param`: Payload value written into `stateChange.params.moveFlags`. When `type` is [Actor State-Change Types](Types-And-Modes.md#actor-state-change-types) `SITHACTORSTATECHANGE_ANIMMOVE`, this is typically a combination of [Actor Special-Move Flags](Flags.md#actor-special-move-flags). When `type` is `SITHACTORSTATECHANGE_ARMEDMODE`, this is a [Puppet Armed Modes](Types-And-Modes.md#puppet-armed-modes) value.

Notes:
- Requires an actor or player thing.
Expand Down
Loading