batch_delete_actors
Delete multiple editor-world actors in a single undoable transaction using internal names, returning the deleted count plus each actor's pre-deletion JSON. Unmatched names are skipped.
Instructions
Delete several editor-world actors at once through the editor's own delete path, in ONE undoable transaction (a single undo brings them all back), returning the count and the JSON of each actor captured before deletion. WARNING: matches INTERNAL names only -- editor labels do not resolve -- names it cannot find are skipped silently, so compare deleted_count against how many you asked for; and if NONE resolve it errors with "No actors found to delete". Editor world only, and the removal is in memory until save_level writes the .umap.
Returns: { deleted_count: int (compare against your input length), deleted_actors: [actor JSON captured before the delete] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_names | Yes | Array of internal actor names (GetName), case-insensitive whole-string. Unmatched entries are dropped without an error; resolve labels first with find_actors_by_name. |