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"

How to save a complete level and its content?

Hi people.

I researched lots of videos where they show you how to save level information using saveGame blueprint, looks terrific. But for what I need, i´m not sure if this is the right approach, all examples I saw, they save independent variables, like an integer for the life, or a string for whatever...

My level / game is kind of complex, imagin a Minecraft, where the user can place things in the world, build things in a specific place (like floor, 4 walls, a roof), also spawn other things that weren´t in the level since the begining.

I want to save the level, knowing all the spawned instances and their positions, so when game is reloaded, everything is in the same place.

Do I need to perform a Foreach Actor, and store it independently? Can I do something like Save Level, and that automatically stores everything?

I would like to hear suggestions about best approach for this.

Thanks!

Product Version: UE 4.16
Tags:
more ▼

asked Jul 10 '17 at 05:11 PM in Blueprint Scripting

avatar image

leofucci
169 9 18 24

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

1 answer: sort voted first

unfortunately there is no such function . you should iterate through the Actors and extract the info you want to save . same for loading as far as i know .

more ▼

answered Sep 19 '17 at 04:12 PM

avatar image

ShadowOf047
116 9 11 18

(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