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"

Main Menu Load Game Widget not working

I have made a simple load and save system based off the players location. My save system works perfectly and will load the game when I press the L-Key. When I transfer the function to the main menu LOAD GAME button, nothing happens. I added a print line to tell me when the game loads and it says that the game has loaded. Here are my screenshots. If you have any idea on what to do please let me know. I have look up everything on saving and storing data but have not seen anyone using widgets. Thank you! alt text

This is the working save game function that I have.

alt text

This is what I use to test that the save is working and it does work.

alt text alt text This is the load function that I made for the LOAD GAME button

alt text This is what happens when I press load game.

I am very new to blueprint and would appreciate any help that you all can give me!

Product Version: UE 4.14
Tags:
scr1.png (183.2 kB)
sc4.png (130.8 kB)
scr5.png (160.0 kB)
scr6.png (151.5 kB)
scr7.png (29.0 kB)
more ▼

asked Apr 11 '17 at 10:36 PM in Blueprint Scripting

avatar image

Kúdos
11 2 2

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

2 answers: sort voted first

in this screen shot - https://answers.unrealengine.com/storage/attachments/133852-scr1.png you are missing a connection from your casted instance of your save game to save game to slot

check your success return booleans!

more ▼

answered Apr 11 '17 at 11:57 PM

avatar image

BPANDREW
1k 23 27 125

avatar image Kúdos Apr 12 '17 at 12:35 AM

alt text alt text I fixed that but it still is not working. For some reason the game was still saving correctly without that node ahaha. I have no clue why I am not being brought into the game. Check my last couple screenshots for the blueprint for the LOAD BUTTON and let me know what you think?

ripagain.png (122.8 kB)
ripppp.png (39.0 kB)
avatar image BPANDREW Apr 12 '17 at 12:49 AM

what are you expecting to happen? i see you are setting the "location" variable of your character - maybe you want to set world location of your actor instead?

avatar image Kúdos Apr 12 '17 at 01:48 AM

I want to load into the saved player position from the main menu. I will try the world actor, but everything seems to save and load until I add the code to the widget.

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

alt text

captura.png (79.0 kB)
captura2.png (338.9 kB)
more ▼

answered Jul 26 '18 at 05:50 PM

avatar image

cmcm85
1 1 1

(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