GetLightIntensity
From MaratisWiki
getLightIntensity(object)
Get the light intensity.
-
object: object to operate on
Light0 = getObject("Light0")
-- Scene update
function onSceneUpdate()
flash = getLightIntensity(Light0) -- you can rename flash to whatever you like
end
Advanced use in setLightIntensity over here : [[1]]