How do you save the device time and date at a certain time?
sunnycon
Member, PRO Posts: 1
I need to create a log, and in order to do that I need to save the device time and date every minute. However, when I use game.Clock.Minute, it keeps running, and isn't a static value. How do I make it a static value that I can save into a table?
Thank you so much in advance!
Comments
Create an attribute named (log_time) and make a rule that reads: every 60 seconds change log_time to game.clock.minute. And then save to table. Hope that helps.
BRUNKT.com
Follow me at: Twitter - Instagram
Games and Templates
Appstore