Hello everyone, I’m making an android application (a virtual tour) where there are 3 interactive objects (I already set them up). I want that everyday, when you open the application, one of the 3 objects appears, hiding the others, of course if you start the application the next day, a different object than the previous one will be visible, so I want to make them appear in a specifical order (1,2,3) on a daily basis (the day after 1 was visible, 2 is visible and 1 and 3 are invisible, the day after 2 was visible, 3 is visible and 1 and 2 is visible and then the same thing again from 1). I want to do this by saving the number of the object in a savefile, so that everytime the game loads, it checks date and if everything is ok (midnight has passed) it loads the number of object (saved when application started the first time), add 1 to it and save it again, in order to repeat the same process everyday when you open the application. I was wondering how to make this using blueprints, I just need a way to save and load only a value, not the whole game and position on the map. Sorry if this was hard to understand, I tried my better. Thanks in advance.
You can use the SaveGame class. It doesn’t save the whole game, it only saves what you specifically put inside it.
You could create a SaveGame class with a variable that holds the time, and a variable that holds the number. Then just save it.
Here’s a brief example of how to use the system.
Will look into it, thanks!