Mosel3y
(Mosel3y)
March 21, 2017, 12:52am
21
Oh, well you have to actually do something with the SecondsSinceLastPlay. I was just showing you how to get that number.
To add the minerals, something like the below would work:
This is just an example, you may have to tweak it for what you need. Also, make sure you are saving the player save when closing the game too obviosuly, I think you are doing this already.
Tomazzah
(Tomazzah)
March 21, 2017, 1:09am
22
Oh thank you! I had been putting the secondssincelastplay into the “Eventick”, which updates the minerals ingame and giving me all sorts of answers.
Yea the maths needs work but thats because of my variables.
Thank you so much, my eyes burn and i can finally sleep with a peace of mind. Hats off once again to you sir