Playmaker Forum
PlayMaker Help & Tips => iOS Help => Topic started by: zieme666 on July 05, 2013, 02:00:36 AM
-
Hi, i try to build a project that loads scene/level1 in the morning and scene/level2 in the evening. I know i have to work with the "Get System Date Time" action but i'm not sure how i have to handle it. can anybody help me with this? thanks
-
Hi,
Very easy actually, using "Get system date time" action, and set the Format to:
"H " for example, giving you the hour, using a 24-hour clock from 0 to 23.
WARNING: date formatter do not accept one char only, simply put a space after "H ", NOT "H"
it's c# issue...
All possible formating here:
http://msdn.microsoft.com/en-us/library/2h3syy57.aspx
then you parse this string as an int, and compare it to find out what part of the day it is.
bye,
Jean
-
Ok thank you! But could you be a little more specific? I'm new with Playmaker. Is there a Tutorial or something to read that can me explain your way? thanks
Janó
-
Hi,
ok, please find a working scene. It's very simple, tho if you have questions on why and how, let me know, I'll explain further.
bye,
Jean
-
Hey Thank you so much for your time!!! I Love Playmaker because it is the graphic artists last hope ;) greetings from Germany