python set User Parameters

Hi,
I have a Niagra System with some User Parameters that I’ve set. On a spawned actor, how can I set these user parameters with python?

I want to edit these parameters:
image

If I want to edit the Visible parameter under Rendering I can do this:
actor.niagara_component.set_editor_property(“visible”, True)

If I right click I can get the display name and the internal name of the parameters, but that does not seem to correspond with the correct set_editor_property() name to edit the property…

Did some more research and I found it!

This will set the “spawnrate” int parameter
actor.niagara_component.set_niagara_variable_int(“spawnrate”,10)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.