I have a blueprint script that allows my enemies to move along a spline, like a minecart in minecraft. I want to convert it to C++ so I can spawn enemies in waves for a tower defense game, but the problem is how I’m getting the spline reference. Right now, I have to place an enemy instance in the world, and tell it which spline to use with a bunch of clicking. I want to be able to just spawn enemies and pre-determine which spline to use without a bunch of clicking. Any ideas or guidance? Here’s the BP
