LsSetWindlightScene
De DigiWiki.
list settings = [WL_WATER_COLOR, <4.000000,38.000000,64.000000>]; integer success; default { state_entry() { success = lsSetWindlightScene(settings); if (success == TRUE) { llOwnerSay("Success!"); } else { llOwnerSay("Failed!"); } } }