# Help with Spawning BP

**URL:** <https://forums.unrealengine.com/t/help-with-spawning-bp/413515>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [January 1, 2018, 5:02pm UTC](https://forums.unrealengine.com/t/help-with-spawning-bp/413515 "2018-01-01T17:02:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_776011b61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_776011b61](https://forums.unrealengine.com/u/anonymous_user_776011b61)\
**Post date:** [January 1, 2018, 5:02pm UTC](https://forums.unrealengine.com/t/help-with-spawning-bp/413515/1 "2018-01-01T17:02:10Z")

</div>

Hi

Need help fixing 2 spawning 2 BP. One no longer spawns, other randomly spawns outside parameters.

They both need to both do the same thing but at different locations. Sorry the are messy.

I will try to explain how it works.

I have a upwards game in 4x4 grids. Each 4x4 grid I want 1 each 4x4 wide and high.

Var Width and Height are in 1’s. Each section are 400x400, so middle of first grid is 200x200x200.

Not worried about X. I am only looking at 1 trap per “Height level” in this BP, but if I fix Pickup BP, I may add more.

Also tried to make it thought a trap could not spawn on player location.

Infinite loop, while trying to make sure not out of area.

 ![225655-capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/4/6a4faa10e7f4222bac53e7da2f0cbdfb5a75acb9.jpeg)

Randomly spawning out of area.

 ![225654-capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/c/c/0cc0d27f9544132cd049c9717df6b12d23dc3236.jpeg)

Up & Sideways are both set to 200 default in both.

Any help would be nice

Regards

---

<div class="post-metadata">

**Author:** ![xlar8or](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xlar8or/32/710746_2.png) [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Post date:** [January 1, 2018, 9:13pm UTC](https://forums.unrealengine.com/t/help-with-spawning-bp/413515/2 "2018-01-01T21:13:12Z")

</div>

Hey there, could the collision handling override be adjusting the position?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_776011b61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_776011b61](https://forums.unrealengine.com/u/anonymous_user_776011b61)\
**Post date:** [January 2, 2018, 4:00pm UTC](https://forums.unrealengine.com/t/help-with-spawning-bp/413515/3 "2018-01-02T16:00:17Z")

</div>

Hi

Was not that, it was a number in the loop function.

Cheers for help
