# Spawn random actors at random splines

**URL:** <https://forums.unrealengine.com/t/spawn-random-actors-at-random-splines/38962>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [August 19, 2015, 4:28am UTC](https://forums.unrealengine.com/t/spawn-random-actors-at-random-splines/38962 "2015-08-19T04:28:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SNA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SNA](https://forums.unrealengine.com/u/SNA)\
**Post date:** [August 19, 2015, 4:28am UTC](https://forums.unrealengine.com/t/spawn-random-actors-at-random-splines/38962/1 "2015-08-19T04:28:54Z")

</div>

I am working on a project where I need to randomly spawn few blueprint actors (boxes) at random splines (5 or 7 spline blueprints), also those randomly spawned blueprint actors (boxes) have to move along those splines to the end. Any ideas???

Im very new to blueprint (scripting) and im really stuck here, would appreciate any help! Thanks! 🙂

![efc758017146195f19af12b52d7a2d0e29e73540.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

 ![screen_02.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/5/856eb3a8cfee9c44cac3eb94be62977a0653e8ed.jpeg)

---

<div class="post-metadata">

**Author:** ![Dzuelu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dzuelu](https://forums.unrealengine.com/u/Dzuelu)\
**Post date:** [August 19, 2015, 4:55am UTC](https://forums.unrealengine.com/t/spawn-random-actors-at-random-splines/38962/2 "2015-08-19T04:55:26Z")

</div>

Mk, so how I would do it is make a blueprint of the splines and have a nextNode paramater of the same blueprint. The box would have to have the first spline and move to it, once done it set’s it’s movement to the next spline and starts to move towards it. You can get an example of something similar from the Unreal youtube channel here: [Basics of AI | Live Training | Unreal Engine - YouTube](https://www.youtube.com/watch?v=evYE7tfWXUY)

The random spawning could be when the box reaches the next node it spawns another ±50ft forward or backward and ±50ft up or down.

---

<div class="post-metadata">

**Author:** ![SNA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SNA](https://forums.unrealengine.com/u/SNA)\
**Post date:** [August 19, 2015, 11:50pm UTC](https://forums.unrealengine.com/t/spawn-random-actors-at-random-splines/38962/3 "2015-08-19T23:50:59Z")

</div>

Thanks, LazyLoading, I will check out the video!  
Overall I kinda need a more specific, technical explanation/help… I am a super newbie when it comes to blueprint! 🙂
