set_niagara_component_int
Sets an integer override variable on a spawned Niagara component for a named actor, then reads it back to verify the value. Use it to change Niagara integer parameters in Unreal Engine 5.
Instructions
Sets an int32 override parameter on a spawned Niagara component. Resolves the UNiagaraComponent on the owner actor and calls SetVariableInt, then reads it back via GetNiagaraVariableInt.
Returns: { actor_name: string, variable_name: string, variable_type: string, set: bool, verified: bool, value_read_back: integer }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Integer value to set. | |
| actor_name | Yes | Owner actor identifier (internal name or editor label). | |
| variable_name | Yes | Niagara variable name (override is added locally if needed). |