Auto-translated
Hi Gerter! I've also been testing the lighting changes and exploring the scenarios in your map, but it's not working! I want to create something very simple so that each day of the week has different lighting. Testing a single-day change would be sufficient... I think this code is the most correct (I've tried a thousand possible changes). Greetings!
Trigger(NEW_DAY_TRIGGER, 'Days')
function Days()
local Day_W = GetDate(DAY_OF_WEEK)
if Day_W == 1 then
SetAmbientLight(GROUND, 'PreLight', not nil, 1);
end
end