Light up your world in Arma3
The code below will light an area up within 500 meters of a designated placed object. This is super easy and a good way to light up an area base.
Simply put down a lamp object like an airport light and put this code in the init of that object.
light = "#lightpoint" createVehicle getPos this; light setLightBrightness 26.0; light setLightAmbient [3.0, 2.0, 3.0]; light setLightColor [0.0, 1.0, 0.0]; light lightAttachObject [this, [0,0,0]];