mirror of
https://github.com/Ignatz-HeMan/Ignatz_Tools.git
synced 2024-08-30 16:12:11 +00:00
Update Ignatz_Client_DoorOpener.sqf
Change pushed for the different sizes of frequency jammers
This commit is contained in:
parent
fd97fe3e1b
commit
77fcecf2ce
@ -15,7 +15,7 @@ _config = 'CfgEpochClient' call EPOCH_returnConfig;
|
|||||||
_buildingJammerRange = getNumber(_config >> "buildingJammerRange");
|
_buildingJammerRange = getNumber(_config >> "buildingJammerRange");
|
||||||
_value = 0;
|
_value = 0;
|
||||||
_lockvalue = 1;
|
_lockvalue = 1;
|
||||||
_nearjammers = nearestobjects [player,["Plotpole_EPOCH"],_buildingJammerRange];
|
_nearjammers = nearestObjects[player, call EPOCH_JammerClasses,_buildingJammerRange];
|
||||||
if (_nearjammers isEqualTo []) exitwith {false};
|
if (_nearjammers isEqualTo []) exitwith {false};
|
||||||
_nearestJammer = _nearjammers select 0;
|
_nearestJammer = _nearjammers select 0;
|
||||||
if !((_nearestJammer getVariable["BUILD_OWNER", "-1"]) in[getPlayerUID player, Epoch_my_GroupUID]) exitwith {false};
|
if !((_nearestJammer getVariable["BUILD_OWNER", "-1"]) in[getPlayerUID player, Epoch_my_GroupUID]) exitwith {false};
|
||||||
|
Loading…
Reference in New Issue
Block a user