move_actors_to_level
Move editor-world actors into a persistent or loaded streaming level to fix actors spawned in the wrong sub-level. Requires an unlocked loaded destination; selection changes as a side effect.
Instructions
Relocate existing editor-world actors into another sub-level (persistent or a loaded streaming level) -- it rescues actors that got spawned into the wrong level, which set_current_level only prevents going forward. Idempotent: actors already there come back in already_in_level instead of being touched. WARNING: it is clipboard-backed, so the editor SELECTION is mutated as a side effect, and the destination must be loaded AND unlocked. Both levels' packages get dirty: save_level after.
Returns: { requested: int, moved_count: int, already_in_level: [string], target_level: string, success: bool, note: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_names | Yes | Array of actor names OR editor labels in the editor world (this one does accept labels, unlike delete_actor/batch_delete_actors). | |
| target_level | Yes | "persistent" or the short name of a loaded streaming sub-level | |
| move_all_or_fail | No | When true, fail the whole move if any actor cannot be moved; defaults to false |