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. 

Can i spawn Map ( Level ) like actor?

I have levels and i want to spawn one level from array. Can i do this?

Product Version: UE 4.20
Tags:
more ▼

asked Nov 16 '18 at 04:25 PM in Blueprint Scripting

avatar image

chernoburk
31 3 8 14

avatar image mightyenigma Nov 16 '18 at 04:30 PM

Maybe by using Level Streaming or World Composition or something. I've heard of those things but never tried them but they sound like maybe you could use one of them that way.

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

1 answer: sort voted first

Not spawn in the traditional sense.

A level is a collection of elements with custom level bp and various settings and can not be spawned like an actor.

Level streaming is a solution if you only need your sublevel once at a time. Loading the same sublevel multiple times requires some manual fiddling with C++.

If you consider something like an infinite runner, you could also consider to create actors instead. Possibly spawning in an actor which spawns in additional actors, constructing your level snippet from within your initial actor rather than having the level created ahead of time. Though setting that up would take a bit of time and not be terribly convenient in most environments.

more ▼

answered Nov 16 '18 at 04:43 PM

avatar image

Erasio
5.9k 291 86 293

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

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

Answers to this question