Skip to content

Help with a map.

User Avatar
#3
Auto-translated
There's a question about why the line `SetAmbient...` isn't working here. Although the line `print("OK2")` works, and everything is visible in the console, the lighting doesn't change. What should I do? function EndRain()
if GetDate(3) ==2 then
print("OK");
SetAmbientLight(GROUND, 'TombYard', nil);
print("OK2");
end
end

Trigger(NEW_DAY_TRIGGER, "EndRain");
However, when I write something nonsensical in the parameters of `SetAmbient...`, it outputs an ERROR
Ideally, I would like an example script