Skip to content

Current questions and answers regarding the map editor.

User Avatar
#1074
Auto-translated
KioM
function regF()
SetAmbientLight(0, "/Lights/_(AmbientLight)/Scenario/C6M3/Dirt.xdb#xpointer(/AmbientLight)", false, 0);
end;
Trigger (REGION_ENTER_AND_STOP_TRIGGER, "reg", "regF");

try this
no, it doesn't work. It says "value was NIL" and something else with the word "false". When I change "false" to "nil", nothing happens at all.