reorder_niagara_modules
Move a Niagara module to a new index in an emitter stack to change its execution order. Specify the system, emitter, module name, and target index.
Instructions
Move a UNiagaraNodeFunctionCall module to a new index in its Niagara emitter stack (in-place reordering).
Returns: { system_path: string, emitter_name: string, script_group: string, module_name: string, old_index: int, new_index: int, target_index: int, reordered: bool, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module_name | Yes | Display name of the module to move | |
| system_path | Yes | Asset path of the Niagara System. | |
| emitter_name | Yes | Name of the emitter handle. | |
| script_group | No | Optional "spawn" or "update"; defaults to "update" | |
| target_index | Yes | Non-negative target index in the ordered stack |