Paid job- Device Clock Rule Help
Hi Everyone,
I am looking for some help to set this feature up in my game. After multiple failed attempts to create this I am willing to pay for the help. Basically what I need is a way to have certain attributes change based on how long it’s been no matter if the app is closed or opened so it will need to be working with the device clock.
Ex
Every 5 minutes from when an actors self.alpha is 1 change attribute game.amount to random(100,1000) The every 5 minutes will need to be based on attribute so I can change it to make it different times. So example every 20 minutes or every 2 hours and so on from the time self.alpha is 1.
I will need it to count down the time till the next time it changes the game.amount. Ex if the amount changes every 5 minutes than after 1 minute and 5 seconds it will show 3 minutes and 55 seconds left so it counts each second till the countdown and restarts the countdown again from 5 minutes. The countdown must keep track of time even when the person closes the app and comes back and it shows the time left till the game.amount changes.
The thing is if the game.amount changes every 5 minutes and let’s say the player closes the app and comes back 14 minutes later it will have a changed the game.amount number since it’s been more than 5 minutes and also pick up to how much time is left till the next change so only 1 minute left till the next time it changes.
So it constantly remembers to change the game.amount every 5 minutes based on when the self.aphla equals 1 and always has a countdown timer to tell you the time left till the next change.
I will be making 17 of these actors so they need to be resource friendly if possible.
Hopefully this makes sense. I am willing to pay if someone can make this for me.
Thanks
I am looking for some help to set this feature up in my game. After multiple failed attempts to create this I am willing to pay for the help. Basically what I need is a way to have certain attributes change based on how long it’s been no matter if the app is closed or opened so it will need to be working with the device clock.
Ex
Every 5 minutes from when an actors self.alpha is 1 change attribute game.amount to random(100,1000) The every 5 minutes will need to be based on attribute so I can change it to make it different times. So example every 20 minutes or every 2 hours and so on from the time self.alpha is 1.
I will need it to count down the time till the next time it changes the game.amount. Ex if the amount changes every 5 minutes than after 1 minute and 5 seconds it will show 3 minutes and 55 seconds left so it counts each second till the countdown and restarts the countdown again from 5 minutes. The countdown must keep track of time even when the person closes the app and comes back and it shows the time left till the game.amount changes.
The thing is if the game.amount changes every 5 minutes and let’s say the player closes the app and comes back 14 minutes later it will have a changed the game.amount number since it’s been more than 5 minutes and also pick up to how much time is left till the next change so only 1 minute left till the next time it changes.
So it constantly remembers to change the game.amount every 5 minutes based on when the self.aphla equals 1 and always has a countdown timer to tell you the time left till the next change.
I will be making 17 of these actors so they need to be resource friendly if possible.
Hopefully this makes sense. I am willing to pay if someone can make this for me.
Thanks
Comments
game reopened:
-when those attributes have content
-comparing those values … with the clock's current values
-will give you a time elapsed from initialOpen
but, as @developer6810 says there is no way to just have closed app track systemTime
for the 17 actors in the game that need to store/use timeValues
tables will probably work well … especially if saved often
and 1st rule in actor loads those values so values aren't 0 when sceneLoads again