Hi, first post here.
I'm trying to set up a very simple time-system, that I have previously coded in c#.
How it's supposed to work step by step:
variables:
int seconds
int mintues
int hours
int days
int months
int years
boolean isPaused
now to the meaty part:
If isPaused = False, increase
int seconds every frame.
If
int seconds >= 60 -> minute++
If
int minute >= 60 -> hour++
If
int hour >= 24 -> day++
In C# it was rather easy, as I could just do:
second += Time.deltaTime; but I can't figure out how to do it in playmaker, I'm rather new to this plugin.
That didn't quite work: