// Location: First 3 Lights @ Stratis Airport Entrance
// 1) Set Mission's Time of Day to Night
// 2) Place Game Logic on the map and name it "lightSwitch"
// 3) Call this script with a Trigger.
// Optional) uncomment sleep and setDamage line below to test if it affects the Lights
// NOTE - If you have not updated your Alpha build yet, use _lights with old ID#.
// ID# of the Lamps Before the 04/15/13 Update
//_lights = [143222, 143087, 143169];
// ID# of the Lamps as of 04/15/13 Update
//_lights = [45831, 45696, 45778];
// ID# of the Lamps as of 05/26/13 Update
_lights = [52807, 52748, 51896];
for [{_i=0}, {_i < count _lights}, {_i=_i+1}] do
{
_light = (_lights select _i);
_lampPost = (getPos lightSwitch nearestObject _light);
_lampPost switchLight "off";
//sleep 5;
//_lampPost setDamage 1;
};