Getting a Niagara Particle System Component Object Reference before the System is Spawned

I’m trying to set the “Lifetime” of a Niagara system via variable, which I’ve set up by creating a User Exposed Parameter in the Niagara system and assigned it accordingly. But in order to dynamically set that parameter in the blueprint’s event graph, I need to get a reference to the Niagara Particle System Component Object. I must get that reference and then use a “Set Float Parameter” node to set the lifetime duration parameter before actually spawning the system. If I spawn the system before setting the lifetime parameter, the system defaults to a lifetime parameter of zero since the parameter isn’t being changed until after the system spawns. I can’t seem to get that reference to the Niagara Particle System Component Object until after the system is spawned. Any idea how to get that refence before the system is spawned? Below is what I’ve tried.

Setting up the user parameter.

Spawning the Niagara system.

Either using my Niagara system reference variable doesn’t work, or I’m doing it wrong.

Trying other nodes.

The target of the Set Float Parameter node is a FXSystem Component Object Reference.
image

But these are my only options for FXSystem.

image
The output from the “Spawn System at Location” node works with the “Set Float Parameter”, but the issue again is that if I do this, I can’t get the reference I need until after the Niagara system is spawned, and once the system is spawn, it’s too late to change it’s lifetime parameter.

So I figured out my solution, see below if you’ve come to this post looking for an answer.

I Un-ticked “Auto Activate” on “Spawn System at Location”, set my desired parameter (I changed its name since my first posted screenshots from Lifecycle to LoopDuration, in case that confused you) and then set the Niagara system to “Active”, thus overcoming my issue of needing the system spawned to get a reference to that system so that I could alter it’s user parameters.