Jimmakos 168 Posted March 28, 2017 Any way i could turn off the street lights on Warfare.eden (Everon) map? Can't seem to find the propriate classname of the streets lights placed on the map and on the wiki i can only find this: Quote If you want turn street lamp off in ArmA2, the syntax is:ID959522=position player nearestObject 959522ID959522 switchLight "off" Share this post Link to post Share on other sites
killzone_kid 1326 Posted March 28, 2017 try this { for "_i" from 0 to count getAllHitPointsDamage _x - 1 do { _x setHitIndex [_i, 0.97]; }; } forEach nearestObjects [ player, [ "Lamps_base_F", "PowerLines_base_F", "PowerLines_Small_base_F" ], 500 ]; 1 Share this post Link to post Share on other sites
Jimmakos 168 Posted March 31, 2017 This worked for me, on a Gamelogic's init: {_x switchLight "OFF"} forEach ((getPosATL this) nearObjects ["StreetLamp",distance]); 1 Share this post Link to post Share on other sites