I don't understand something. I want to change the lighting on the map. I do it like this:
SetAmbientLight (0, "/Lights/_(AmbientLight)/BrighterDay.xdb#xpointer(/AmbientLight)" , nil, 0)
There's no error, but the light doesn't change. What's the problem?
Then, in map.xdb, find Ground(Underground)AmbientLights and add the following line:
, where Light is what you put in the Name and InternalName fields.And only then use the script.