Jump to content

Automatic Night And Day Lights


falcont

Recommended Posts

I don't know about anything like this, but I think you can script one. Here is how: (I hope it'll work.)

Firstly you must create referenced light somewhere. Then you must create this script:

scn YourScriptName

float time

Begin GameMode
set time to gamehour
if time >= 7 && time <= 19
	YourLightRef.disable
else
	YourLightRef.enable
endif
end

Set it to quest script.

After that make a quest, you can name it anything, and set this script as its script. Now your light should turn on and off at 7 am and pm.

Link to comment
Share on other sites

I don't know about anything like this, but I think you can script one. Here is how: (I hope it'll work.)

Firstly you must create referenced light somewhere. Then you must create this script:

scn YourScriptName

float time

Begin GameMode
set time to gamehour
if time >= 7 && time <= 19
	YourLightRef.disable
else
	YourLightRef.enable
endif
end

Set it to quest script.

After that make a quest, you can name it anything, and set this script as its script. Now your light should turn on and off at 7 am and pm.

Link to comment
Share on other sites

  • 3 years later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...