Description
This event process is a basic Time Event Process.
Process
This will take 4 different events to do. Don't worry, they are simple events.
First Event:
You'll need 2 pages; Both need to be set to Parallel Process.
Now in the Event Commands you'll need to put:
@>Conditional Branch: Variable [0001:Seconds] == 60
@>Control Variables: Variables [0002:Minutes] += 1
@>Control Variables: Variables [0001:Seconds] = 0
@>
: Else
@>Conditional Branch: Variable [0002:Minutes] == 60
@>Control Variables: Variables [0003:Hours] += 1
@>Control Variables: Variables [0002:Minutes] = 0
@>
: Else
@>Conditional Branch: Variable [0003:Hours] == 13
@>Control Variables: [0003:Hours] = 1
@>Control Switches: [0001:AM/PM] = ON
@>
: Else
@>
: Branch End
@>
: Branch End
@>
: Branch End
@>
Now on Page 2, copy everything on Page 1 and put it on Page 2.
Set the Conditions of the Page to Switch: 0001[AM/PM] is ON.
And on the third Conditional Branch, change:
@>Control Switches: [0001:AM/PM] = ON
to: @>Control Switches: [0001:AM/PM] = OFF
Now for the Second Event:
You'll just need 1 Page for this Event and it needs to be set to Parallel Process also.
In the Event Commands it needs to have:
@>Wait: 60 frame(s)
@>Control Variables: [0001:Seconds] += 1
@>
The Third Event:
You'll need 2 Pages. First Page is set on Parallel Process and the Second Page needs set on Action Button.
First Page Event Commands:
@>Control Variables: [0002:Minutes] = Random No. (1...59)
@>Control Variables: [0003:Hours] = Random No. (1...12)
@>Control Self Switch: A =ON
Second Page needs to have its Conditions set for Self Switch A is ON.
The Event Commands for Page 2 is Blank.
*NOTE* = The Third Event is mainly so when you first start your game, the time wont start at 00:00.
The Fourth Page is mainly so you can see what time it is.
It'd make the most since if you placed this Event on something like a clock in your game.
The Forth Event:
You will need 2 Pages. Both Pages need to have the Priority set to Same as Character.
And both Pages' Trigger need to be set on Action Button.
First Page Event Command:
@>Conditional Branch: Variable [0002:Mintues] < 10
@>Text: -, -, Normal, Bottom
: : \v[3]:0\v[2] AM
@>
: Else
@>Text: -, -, Normal, Bottom
: : \v[3]:\v[2] AM
@>
: Branch End
@>
Page 2 is the same as Page 1 except the Pages' Condition needs to be set to Switch [0001:AM/PM] is ONAnd Both Text Commands in the Event Commands need to same PM instead of AM.
Demo
I haven't made a Demo since it's pretty simple to make, however, if someone would like one please let me know.
Please comment here or PM me and tell me if something doesn't work or if you don't understand something.