Get paint layer at location (at runtime - shipping) and set paint layer around Blueprint Spline (editor)

I’m making a tower defense game, and so in the game the enemies are traveling on a sand path. How can I get the paint layer at the location? I’ve seen the node “Editor Get Paint Layer Weight at Location;” however, this doesn’t work because it is editor-only and also it takes a Landscape Component, and not a Landscape. How would I achieve this?

Another, slightly unrelated question: instead of manually painting the path around the spline that I am using for the path, is there a way to automate the process? I would like to set the paint layer around a blueprint spline (not a landscape spline). If this is only possible with a landscape spline, how would I attach a blueprint to the landscape spline?

Thanks so much!

For me, I would use waypoints. You can change the current waypoint to point to the next target waypoint using the blueprint so it is always in sequence.

Also, if you put invisible walls, it will limit the navigation paths for the AI.

Hope it give you some hints. :slight_smile: