PDA

View Full Version : switching lights on/off using script controller


hkrol
04-23-2009, 12:42 PM
Is there a way to set a light's ".enabled" boolean value with a scripted controller?
Or would a multiplier of 0.0 have the same effect as completely switching of the light (as in being not regarded in any calculations)?
Visibility keys are not an option, it seems.

DaveWortley
04-23-2009, 02:34 PM
$Omni01.on = False
$Omni01.on = true

Switches for on or off.

CGTalk Moderation
04-23-2009, 02:34 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.