Countown In the background
How can I create a countdown in the background on an adroid app. For example, when there is an item and it has an one hour cooldown, the user should get a push-message that says that the item is ready for use (or something like that).
There is two basic ways:
After the player use the item, you can place a Delay node with a value of 3600.
Or you can create a Custom Event, name it "ItemCooldown" and when the player use the item, you call the node "SetTimerByFunctionName", on the func name place "ItemCooldown", on time 3600.
Off course the function won't know which item got their cooldown expired, so you may add a parameter on your custom event to tell the timer which item is.
answered Jan 15 '16 at 11:47 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here