-
Date and Time Events
Hello I am new here and I want to know how to get the date and time object to do things at a specific date. Like make it Christmas-y on Dec. the 25 and make it snow starting on Nov. 28 and making the Easter bunny come on Apr 4 and so on.
As far as I can see there is nothing that can do that w/ the Date and Time object (unless there is an object that can do that) Ive tried everything plz help!
-
Re: Date and Time Events
Has anyone come up with an answer yet?
-
Re: Date and Time Events
Hi Gimbabwe.
You have to create these elements in your program itself, the Date Time object doesn't have features to make these things happen.
So, let's say you were creating a personal organiser program and you wanted these things in it. You would create an Active Object of an Easter Bunny, snow flakes, Santa, etc. You would not have these things showing on screen when the program runs.
Then, in the Event Editor, check the Day and Month values and when they corrispond to dates you want, you would make the stuff appear. So, Day 25 Month 12, make Santa reappear on screen on that day. If the program is run on 25th December, the user will see Santa on screen giving it a Christmasy feel.
-
Re: Date and Time Events
Oh where are the date and month values located?
-
Re: Date and Time Events
Place the Date and Time Object in your frame, creating a Date Object. Also create two counters.
In the Event Editor, set Counter 1 to the date by selecting Retrieve Data From An Object (in the Expression Editor) and selecting the Date Object and selecting Day Of The Month.
Set Counter 2 to the month by selecting Retrieve Data From An Object (in the Expression Editor) and selecting the Date Object and selecting Month.
Now, when Counter 1 = 25 and Counter 2 = 12 (25th December) make Santa reappear.
-
Re: Date and Time Events
-
Re: Date and Time Events
while im at it I have another question.......
I got a savegame extension and I followed hat the methods for saving a game were in the examples but none of them work..
If you anyone knows how to do this plz tell me or if there is another way to save games. (one time I was able to do this but I forgot!!)