Jump to content

How do you force lights to activate only at night?


IAssassinII

Recommended Posts

So I've been at this for a while (and I wouldn't be here of course if I hadn't already looked everywhere on the internet). I've tried reverse engineering ones already made near the Strip and I'm obviously doing something wrong. All I have is A few lights with their activate parent as an xmarker with both components settings identical to ones you find on the Strip. So my question is, how do you set this up correctly?

Link to comment
Share on other sites

Have you considered timer?

 

or

 

Emittance
This refers to the color emitted by the object; most commonly (only?) used by glow effects which need to look a certain color.
If the emittance is set to using the interior light drop down list, then the color will not change. However, using the exterior light
setting, the emittance will change in accordance with the daylight of the region chosen. (ie, Megaton's lights have glow effects
that use an inverted daylight emittance, so they appear to turn on at night, and turn off in daylight)
Link to comment
Share on other sites

You can create an Activator, attach it the script below, place it at the worldspace cell where the light sources are and set it as their parent.

scn	NightTimeOnlyLightsScript

begin GameMode

	if (GameHour > 6) && (GameHour < 19)
		if GetDisabled == 0
			Disable
		endif
	elseif GetDisabled
		Enable
	endif

end
Link to comment
Share on other sites

  • Recently Browsing   0 members

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