Question updated, 1/17/12 11:30 am EST.
What i am trying to do is to make the pet's hunger(or food) decrease every 12 hours
so the user/player can feed it every now and then.
any help would be much appreciated.
1, how to create a constant timespan of 12 hours? (the hungryTime var on top)
2, how to do the 3 line below:
*/ //error msg end
I answered a very similar question a while ago regarding real time integration with games and affecting "hunger" =P http://answers.unity3d.com/questions/171302/save-current-time-on-quit-then-on-relaunch-compare.html
answered Jan 17 '12 at 06:54 AM
Dewald117's solution seems a great one. This would solve the first error. About the second error of yours,
doesn't seem a legal statement (that's not an assignment). Would you say
answered Jan 17 '12 at 07:04 AM