mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Updated Axeman's lighting system disabled by default
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
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.
|
||||
Made for DayZ Epoch by axeman please ask permission to use/edit/distribute email gregory.andrew@gmail.com.
|
||||
*/
|
||||
private ["_nrTowers","_nrstTrig","_lCol","_lbrt","_lamb","_twrCl"];
|
||||
_nrstTrig = _this select 1;
|
||||
@@ -8,12 +8,10 @@ _lCol = [1, 0.88, 0.73];
|
||||
_lbrt = 0.04;
|
||||
_lamb = [1, 0.88, 0.73];
|
||||
_twrCl = "Land_Ind_IlluminantTower";
|
||||
_nrTowers = nearestObjects [_nrstTrig, [_twrCl], 1000];
|
||||
_nrTowers = nearestObjects [_nrstTrig, [_twrCl], 600];
|
||||
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];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user