playMaker

Author Topic: loading different scenes at different time  (Read 4059 times)

zieme666

  • Playmaker Newbie
  • *
  • Posts: 7
loading different scenes at different time
« 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: loading different scenes at different time
« Reply #1 on: July 05, 2013, 03:23:51 AM »
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


zieme666

  • Playmaker Newbie
  • *
  • Posts: 7
Re: loading different scenes at different time
« Reply #2 on: July 10, 2013, 03:15:53 PM »
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ó

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: loading different scenes at different time
« Reply #3 on: July 11, 2013, 07:04:11 AM »
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

zieme666

  • Playmaker Newbie
  • *
  • Posts: 7
Re: loading different scenes at different time
« Reply #4 on: July 13, 2013, 06:24:45 AM »
Hey Thank you so much for your time!!! I Love Playmaker because it is the graphic artists last hope ;) greetings from Germany