build_change_party_member
Generate an RPG Maker MZ event command to add or remove an actor from the party, optionally resetting the actor's state when adding.
Instructions
Build a Change Party Member (129) event command for insertion via insert_event_commands — add or remove an actor from the party. initialize (add only) resets the actor to their initial state. Read-only: returns { command }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indent | No | Indentation level (default 0) | |
| actorId | Yes | The actor id | |
| operation | Yes | Add to or remove from the party | |
| initialize | No | add only: reset the actor to their initial state (default false) |