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"

Saving/Loading a game using two different menus

Hey guys, I'm making a save/load system that uses two different widget menus.

Basically the way this works is a player can only save by interacting/sleeping on a bed. When you overlap with the bed a widget displays allowing you to save or sleep.

You are then allowed to load the game either through the pause menu or the title menu. I'm having an issue though, I'm allowed to save the game perfectly without error, but when I try to load the game again through either menu it just causes my editor to go to a black screen.

Here are some screenshots of the BPs to give you a better idea of what I'm dealing with.

TitleMenu (load) BP: https://gyazo.com/d626166d1734476a330707e399808449

Bed (save) BP: https://gyazo.com/55db50d974f4aea5a65b7f0fe06b4901

Product Version: UE 4.10
Tags:
more ▼

asked Mar 06 '16 at 03:36 AM in Blueprint Scripting

avatar image

Entropikz
113 18 22 26

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

1 answer: sort voted first

Just quickly off the top of my head..Have you tried adding a delay between load and remove from parent? Add a delay and set it to let's say 2 secs and give that a try..What I'm guessing is that it doesn't have enough time to load the save before the operation gets removed..

more ▼

answered Mar 06 '16 at 07:06 PM

avatar image

LethalLotus
56 2 4 5

avatar image Entropikz Mar 07 '16 at 12:56 AM

I tried adding a delay and it didn't load the game. It just closed the widget and kept me in the same area as before.

avatar image CKong Mar 14 '16 at 04:50 PM

First, have you confirm that your save game really was create? Then after that, check to make sure your program can spot the same save game, giving enough time.

avatar image Entropikz Mar 15 '16 at 11:48 AM

Yeah I was able to confirm using a print string that only fired after the game was saved. I also made sure the saved game slits matched in both the load and save blueprints and tried adding a delay to give the program time to locate everything. Still no luck.

(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