I have a NS that samples a vector field. I have made the vector field user exposed as can be seen here:
In a blueprint, I have added the NS in question and want to somehow change which vector field it samples. I can access the vector field from the details panel as seen below:
Now I would want to change that in runtime trough the blueprint but there is no pre-defined function for that. Here is the documentation on the functions that do exist: UNiagaraComponent | Unreal Engine Documentation
I am thinking that if I could somehow access the user parameter from where it has been generated, I could swap out the “field” parameter in that. Is this a good way to achieve this and does anyone know how to do it in that case? I am a new to UE and just today made my first UE c++ script.
Thank you, I am about to test this but I get an error when trying to include NiagaraSystemComponent.h and can’t find documentation on that. Is this the type I should use?