In this formula the spot light is on:
docking_light = (SpotLight*)AddSpotLight(_V(0.0,-1.022404,12.6), _V(0,0,1), 150, 1e-3, 0, 1e-3, RAD*25, RAD*60, col_white, col_white, col_a);
docking_light->Activate(true);
How can i turn off automatically when the door is closed?:idk:
:hail::hail: