add_niagara_module
Insert a Niagara module into an emitter's script stack at a chosen index, for any script usage type like spawn or update.
Instructions
Add a module to an emitter's script usage stack.
Args: system_path: Path to the Niagara System asset emitter_name: Name of the target emitter module_path: Path to the module script asset (e.g. "/Niagara/Modules/Update/SolveForcesAndVelocity") script_usage: Target stack — EmitterSpawn, EmitterUpdate, ParticleSpawn, ParticleUpdate, SystemSpawn, SystemUpdate index: Position in the stack (-1 = append at end)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| module_path | Yes | ||
| system_path | Yes | ||
| emitter_name | Yes | ||
| script_usage | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |