SetSurfaceLight(surface, flex_light, flex_delay);
flex_delay: The lighting will gradually change to the new value during this delay.