mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 01:30:26 +03:00
Update local_lights_tower.sqf
This commit is contained in:
@@ -2,14 +2,13 @@
|
|||||||
DayZ Epoch Lighting System -Illuminant Tower Lights
|
DayZ Epoch Lighting System -Illuminant Tower Lights
|
||||||
Made for DayZ Epoch please ask permission to use/edit/distrubute email axeman@thefreezer.co.uk.
|
Made for DayZ Epoch please ask permission to use/edit/distrubute email axeman@thefreezer.co.uk.
|
||||||
*/
|
*/
|
||||||
private ["_nrTowers","_rng","_nrstTrig","_lCol","_lbrt","_lamb","_twrCl"];
|
private ["_nrTowers","_nrstTrig","_lCol","_lbrt","_lamb","_twrCl"];
|
||||||
_rng = (_this select 0)*2;
|
|
||||||
_nrstTrig = _this select 1;
|
_nrstTrig = _this select 1;
|
||||||
_lCol = [1, 0.88, 0.73];
|
_lCol = [1, 0.88, 0.73];
|
||||||
_lbrt = 0.04;
|
_lbrt = 0.04;
|
||||||
_lamb = [1, 0.88, 0.73];
|
_lamb = [1, 0.88, 0.73];
|
||||||
_twrCl = "Land_Ind_IlluminantTower";
|
_twrCl = "Land_Ind_IlluminantTower";
|
||||||
_nrTowers = nearestObjects [_nrstTrig, [_twrCl], _rng];
|
_nrTowers = nearestObjects [_nrstTrig, [_twrCl], 1000];
|
||||||
if(count _nrTowers >0)then{
|
if(count _nrTowers >0)then{
|
||||||
{
|
{
|
||||||
if((_x getVariable ["axeTLight", 0])<1)then{
|
if((_x getVariable ["axeTLight", 0])<1)then{
|
||||||
|
|||||||
Reference in New Issue
Block a user