playMaker

Author Topic: Time between game plays [SOLVED]  (Read 1389 times)

escpodgames

  • Hero Member
  • *****
  • Posts: 686
    • View Profile
    • Assets
Time between game plays [SOLVED]
« on: April 03, 2013, 03:01:21 AM »
Hey,

I'm currently making a game where I need to know how much time has past between play sessions, I've tried to use the system date/time but without importing a calander, I can never know exactly how many days in a month (if the player plays the game on the 29th of a month and then comes back a few days later. Any suggestions? This is key to my game working or not :S

Cheers
Andrew
« Last Edit: April 03, 2013, 03:28:10 AM by LampRabbit »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14213
  • Official Playmaker Support
    • View Profile
Re: Time between game plays
« Reply #1 on: April 03, 2013, 03:05:05 AM »
Hi,

 try this:

http://hutonggames.com/playmakerforum/index.php?topic=1047.msg4332#msg4332

to get the dates themselves, use "getSystemDateTime" action.

bye,

 Jean

escpodgames

  • Hero Member
  • *****
  • Posts: 686
    • View Profile
    • Assets
Re: Time between game plays
« Reply #2 on: April 03, 2013, 03:14:36 AM »
Exactly what I need, thank you so much!!!