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"

Save Game To Slot False?

Greetings,

Ok I am stuck on a save game issue and despite the research I have done, can’t seem to figure it out. I am hoping someone here might be able/willing to lend a hand. I am having trouble saving an Integer using the “Save Game to Slot” node. It is returning false. In the very first SS I have a branch that will reload my example level (the level i am using) if the save is successful. This never actually happens. Also when i manual restart the level the string printed to the screen is always 0, which is what i have the value defaulted to in the savegame bp. If i change the open level around the the false side of the branch, the level loads.

Any help will be very much appreciated.

Here is where it is called. Note: The Int Level Index never gets increased alt text

Here is where I am loading the file in the Same script. alt text

Here is where I am calling the Function in the first screen shot. Note: Nothing complex about the game mode cast, everything is good there. alt text

Here is where I am creating the save game. Everything appears to be good here as i can see the .sav file in the project's files alt text

How I am checking to see if my index is increased alt text

Product Version: UE 4.11
Tags:
capture.png (176.0 kB)
capture2.png (87.4 kB)
capture3.png (99.3 kB)
capture5.png (179.4 kB)
capture6.png (82.9 kB)
more ▼

asked Jun 18 '16 at 02:43 PM in Blueprint Scripting

avatar image

Filibuster
90 6 7 9

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

1 answer: sort voted first

Try checking the properties of the variable you are saving. In the Details panel you will see options like Transient, Save Game, Config Variable.

Make sure SaveGame option is ticked.

more ▼

answered Jun 22 '16 at 11:17 AM

avatar image

Fieol
76 7 8 10

avatar image Filibuster Jun 26 '16 at 12:18 PM

I was actually able to fix it by taking the initial load of the file out of Construct

(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