Hi everyone,
Hope someone can help, I’m probably making a silly mistake. I have this really confusing situation with a “spawn System at location” node for a line trace beam type weapon I built that stops working the moment I promote the “System Template” input variable so I can edit it in any child classes I make from this weapon class.
So what happens is, on firing the weapon, I “Spawn system at location” for a Niagara beam briefly, then set the spawn location to be the muzzle of the weapon (a component in the weapon Blueprint), and set the end point of the beam from the line trace I did beforehand via a set vector parameter.
Variable isn’t promoted/exposed, but beam and Spawn system at location works fine.
Setting the end point makes use of a “set Vector Parameter” for a User Parameter I made in the Niagara beam system that controls the end point. The return value on the “Spawn system at location” stops working the moment the node’s “system template” input variable is being promoted/exposed in blueprint, resulting in the beam never getting spawned or set at all.
Promoted the “System Template” variable of the Spawn system at location node to expose it to child classes of this master class. Beam no longer works and I receive an error.
Any idea why this is happening, or what I’m doing wrong, and how I can fix it? I need this, since this class is a master weapon class, and I have a sub class (a lightning rifle) that needs this functionality to work.
This is the error I receive after promoting the variable for the Spawn system at location node.

