Day and Night
screennameforwhat
Member Posts: 31
I was wondering if i can switch attributes by real time. For example... I have a scenery that is in day time. I would like it if it is past 8pm in real time the scenery turns night time.
Comments
There is a game attribute, game.Clock.Hour that lets you see what hour it is. This lets you decide if you want to use scenery x or scenery y. Attaches is a demo that shows a blue background between 6am and 6pm, and a grey one between 6pm and 6am.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
@armelline yea i saw that. because it made me confused if they are asking in military hours or not. because how would it know if it is am or pm
24 hour clock, so if that attribute returns 17 that means 5pm, if it returns 5 that means 5am.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support