# Stop construction script from executing again?

**URL:** <https://forums.unrealengine.com/t/stop-construction-script-from-executing-again/279208>\
**Category:** Blueprint\
**Tags:** random, unreal-engine, construction-script, generated, Blueprint, question\
**Created:** [March 31, 2014, 10:53pm UTC](https://forums.unrealengine.com/t/stop-construction-script-from-executing-again/279208 "2014-03-31T22:53:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DasMatze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DasMatze](https://forums.unrealengine.com/u/DasMatze)\
**Post date:** [March 31, 2014, 10:53pm UTC](https://forums.unrealengine.com/t/stop-construction-script-from-executing-again/279208/1 "2014-03-31T22:53:07Z")

</div>

I have created a construction blueprint that adds an array of chosen static meshes randomly to a facade like these windows:

 ![2878-untitled-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/1/6/b1670a50573980d5d7162ba11fa8f858606244ad.jpeg)

Now whenever I play the script gets executed again, changing all the windows. It’s a nice feature for procedural generated content but I want these models to be completely static (the node that spawns the meshes has set the mobility to static) and only change when I change their settings. Or at least they shouldn’t move after building the level. Is this possible?

---

<div class="post-metadata">

**Author:** ![DasMatze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DasMatze](https://forums.unrealengine.com/u/DasMatze)\
**Post date:** [March 31, 2014, 11:53pm UTC](https://forums.unrealengine.com/t/stop-construction-script-from-executing-again/279208/2 "2014-03-31T23:53:03Z")

</div>

Alright, here’s my blueprint:

 ![2887-untitled-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/8/fb87306e14703fe158ec79270e29e7c67a9281a0.jpeg)

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [March 31, 2014, 11:58pm UTC](https://forums.unrealengine.com/t/stop-construction-script-from-executing-again/279208/3 "2014-03-31T23:58:34Z")

</div>

Look into Random Stream node. You can set a Seed with it so that your blueprint uses the same seed every time.

[https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/RandomStreams/index.html](https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/RandomStreams/index.html)

---

<div class="post-metadata">

**Author:** ![DasMatze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DasMatze](https://forums.unrealengine.com/u/DasMatze)\
**Post date:** [April 1, 2014, 12:16am UTC](https://forums.unrealengine.com/t/stop-construction-script-from-executing-again/279208/4 "2014-04-01T00:16:10Z")

</div>

Thank you, works like a charm!

---

<div class="post-metadata">

**Author:** ![MarcoMariaRossi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/marcomariarossi/32/1069093_2.png) [@MarcoMariaRossi](https://forums.unrealengine.com/u/MarcoMariaRossi)\
**Post date:** [March 31, 2017, 9:19pm UTC](https://forums.unrealengine.com/t/stop-construction-script-from-executing-again/279208/5 "2017-03-31T21:19:31Z")

</div>

amazing ! Thank you !
