set_niagara_module_input
Override a Niagara module input value by writing to the rapid-iteration store, then recompile and save the system. Supports float, int, vector, and color inputs.
Instructions
Override a Niagara module input by writing the rapid-iteration store. Locates the module function-call node (by its module_node_name, as returned by add_niagara_module_to_stack) on the emitter's spawn or update stack, matches the input by its leaf name, and writes the value into the owning group script's RapidIterationParameters store. The system is recompiled and saved. HONEST GATE: bool / enum / data-interface / object inputs are not rapid-iteration eligible and return a clean error ("override of inputs requires the linked-value path, not supported headless"). The packed value_type must also match the input's actual type or a clean error is returned.
Returns: { system_path: string, emitter_name: string, module_node_name: string, input_name: string, value_type: string, ri_param_name: string, verified: bool, success: bool, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | For float/int: scalar number. For vector: an [x, y, z] list. For color: an [r, g, b, a] list. | |
| input_name | Yes | Leaf name of the module input (e.g. "Drag" for "Module.Drag"). | |
| value_type | No | One of "float", "int", "vector", or "color"; defaults to "float" | |
| system_path | Yes | Asset path of the Niagara System (e.g. "/Game/Niagara/NS_Example"). | |
| emitter_name | Yes | Display name of the emitter handle. | |
| module_node_name | Yes | The module function-call node name (from add_niagara_module_to_stack's module_node_name). |