merged in Axemans pull

This commit is contained in:
[VB]AWOL
2013-09-26 20:42:57 -05:00
parent c1339e4a6e
commit ccd685ab76
29 changed files with 2855 additions and 2647 deletions

View File

@@ -1,6 +1,6 @@
/*
DayZ Epoch Lighting System -Illuminant Tower Lights
Made for DayZ Epoch please ask permission to use/edit/distrubute email axeman@thefreezer.co.uk.
DayZ Epoch Lighting System - Illuminant Tower Lights
Made for DayZ Epoch by axeman please ask permission to use/edit/distribute email gregory.andrew@gmail.com or vbawol@veteranbastards.com.
*/
private ["_nrTowers","_nrstTrig","_lCol","_lbrt","_lamb","_twrCl"];
_nrstTrig = _this select 1;
@@ -12,6 +12,8 @@ _nrTowers = nearestObjects [_nrstTrig, [_twrCl], 1000];
if(count _nrTowers >0)then{
{
if((_x getVariable ["axeTLight", 0])<1)then{
//axeDiagLog = format["TL: FOUND:%1",_x];
//publicVariable "axeDiagLog";
[_lCol,_lbrt,_lamb,[_x],[true]] call axe_towerLight;
_x setVariable ["axeTLight", 1, false];
};