I made a really basic RPG set up and I'm trying to see how to get Makinom to save my Player Object Variables such as Health and Speed.
I have 4 save slot files and when I go to Save Game Menu in the Menu tab and make sure that save object variables is checked. I press play, lose some health/speed and save to slot 1, then I go back to the Main Menu and load the saved game 1 and the variables are reset, as in the players Health is returned to full and the speed is returned to original speed as if it was a new game but spawned at the save point. I just want my player stats to be saved for each file saved because not all save points will have the option to give the player full health.
Any help would be greatly appreciated.
Thanks,
=]
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
How would I be able to change the Player Prefab Object ID in a running game?
Would I have to make conditional Player prefabs with separate IDs to check if Save Game(s) Exist?
***Edit, I fixed the issue the Player variable kept resetting because I had some Global variables that the player object variables would reference to and reset to new game stats.
Thanks!
=]
Follow my project on Reddit - My Game DevLog
relentingVids - My YouTube Channel
Half Super Shop - My Shop
See video for what I mean.
Video
Follow my project on Reddit - My Game DevLog
relentingVids - My YouTube Channel
Half Super Shop - My Shop
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
**Edit: file has been sent
Follow my project on Reddit - My Game DevLog
relentingVids - My YouTube Channel
Half Super Shop - My Shop
The variables in the Save Game Menu File Settings are taking on the Global Variable String playerName. Since the name changes with each character made it saves the save game file name to which ever the last player name whom saved a game last.
In Save Game Menu>File Settings>File Info the text code for Player Name is not working for me?
Also the Set Game Time Node is causing weird issues when clicked on in the Schematic Editor Window.
Follow my project on Reddit - My Game DevLog
relentingVids - My YouTube Channel
Half Super Shop - My Shop
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Just a quick question about this update, would saving a game make it save all game variables at the time, like a snapshot of current variable data?
If so that would be so totally cool for the save game settings!
Follow my project on Reddit - My Game DevLog
relentingVids - My YouTube Channel
Half Super Shop - My Shop
The issue currently is only that the save game info text that is saved alongside the save game is containing the text codes, not the info/value they represent - and since displaying the info text doesn't load any data from the save game, they're replaced by the wrong values.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Follow my project on Reddit - My Game DevLog
relentingVids - My YouTube Channel
Half Super Shop - My Shop