try setting it with a delay and check:
SetAmbientLight(0, "/Lights/_(AmbientLight)/Scenario/C6M3/Dirt.xdb#xpointer(/AmbientLight)", true, 5);
New here? I'm Roha — want a quick tour?
try setting it with a delay and check:
SetAmbientLight(0, "/Lights/_(AmbientLight)/Scenario/C6M3/Dirt.xdb#xpointer(/AmbientLight)", true, 5);