How to enable and disable a scenery

#1
Hi,
I have this Night photo scenery that I want to be enabled from dusk to dawn or for example, from 6 PM until 6 AM. How can I do that? I can do it manually, but I want it to be done automatically.
FS Real Time is a good example of a program that can manipulate the time.
I want the same functionality, something that can read the time and then to enable a scenery at dusk and then disable it after dawn. Is something like this possible?
 
#2
You can read time, no problem, as well as Time of Day variable, but I don't know of any functionality that will enable you to disable or enable scenery in runtime. Specifically as you are talking photoscenery.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#3
You can't switch bgl files at runtime. For photoscenery all you have is the day and night layers in the bgl itself.
 
Last edited:

arno

Administrator
Staff member
FSDevConf team
Resource contributor
#5
Sorry typo on the phone, I wanted to write can't. I have edited the post now.
 
Top