I have a quick question about sharing variables between blueprints.
I am creating a procedural path, after the player travels a certain distance, a new path piece is spawned in front, and one is removed from behind.
The path is made up of 12 individual blueprints, each one has a “Spline” variable, now because these are all spawned randomly, I’m wondering if there is some way to get that variable that is common to all of the blueprints.
Maybe something like casting to a TYPE of Blueprint? I know I could just do 12 cast nodes, but I’m sure there has to be a better way to do it.
Does that make sense? Any help would be much appreciated!
Spawning the path from an array of classes