x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[Closed] Stop construction script from executing again?

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

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?

Product Version: Not Selected
Tags:
untitled-1.jpg (487.7 kB)
more ▼

asked Mar 31 '14 at 10:53 PM in Blueprint Scripting

avatar image

DasMatze
402 22 25 39

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

The question has been closed Apr 01 '14 at 12:17 AM by DasMatze for the following reason:

The question is answered, right answer was accepted


3 answers: sort voted first

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

more ▼

answered Mar 31 '14 at 11:58 PM

avatar image

Jacky
16.8k 671 167 676

avatar image DasMatze Apr 01 '14 at 12:16 AM

Thank you, works like a charm!

avatar image inedible.red Mar 31 '17 at 09:19 PM

amazing ! Thank you !

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Sorry but you said "construction blueprint that adds an array of chosen static meshes randomly"

That means that when you press play they are put in random locations or just the type of window? What is the random part, can you post your Blueprint.

more ▼

answered Mar 31 '14 at 11:35 PM

avatar image

slayeruk
172 14 19 112

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Alright, here's my blueprint: alt text

untitled-1.jpg (417.0 kB)
more ▼

answered Mar 31 '14 at 11:53 PM

avatar image

DasMatze
402 22 25 39

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question