mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
0.3.9 b556
fixed unneeded message when suppressing forced AI spawn. fixed no message if player does not have energy for NVG.
This commit is contained in:
parent
415d9d7157
commit
1da15073d8
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -43,15 +43,11 @@ _jammers = [];
|
|||||||
_config = 'CfgEpochClient' call EPOCH_returnConfig;
|
_config = 'CfgEpochClient' call EPOCH_returnConfig;
|
||||||
_jammerRange = getNumber(_config >> "buildingJammerRange");
|
_jammerRange = getNumber(_config >> "buildingJammerRange");
|
||||||
_jammers = nearestObjects[_targetPos, ["PlotPole_EPOCH"], _jammerRange];
|
_jammers = nearestObjects[_targetPos, ["PlotPole_EPOCH"], _jammerRange];
|
||||||
if(count _jammers > 0 && (_unitClass in _nonJammer))exitWith{
|
if(count _jammers > 0 && (_unitClass in _nonJammer))exitWith{};
|
||||||
if(_doVariable)then{["Not allowed near a base - Please respawn !", 5] call Epoch_message;};
|
|
||||||
};
|
|
||||||
|
|
||||||
_restricted = [];
|
_restricted = [];
|
||||||
_restricted = nearestObjects [_targetPos, ["ProtectionZone_Invisible_F"], _nonTraderAIRange];
|
_restricted = nearestObjects [_targetPos, ["ProtectionZone_Invisible_F"], _nonTraderAIRange];
|
||||||
if(count _restricted > 0 && (_unitClass in _nonTrader))exitWith{
|
if(count _restricted > 0 && (_unitClass in _nonTrader))exitWith{};
|
||||||
if(_doVariable)then{["Not allowed near a trader - Please respawn !", 5] call Epoch_message;};
|
|
||||||
};
|
|
||||||
|
|
||||||
_disableAI = {
|
_disableAI = {
|
||||||
{_this disableAI _x}forEach["TARGET","AUTOTARGET","FSM"];
|
{_this disableAI _x}forEach["TARGET","AUTOTARGET","FSM"];
|
||||||
|
@ -261,6 +261,7 @@ if (_dikCode in (actionKeys "TacticalView")) then {
|
|||||||
};
|
};
|
||||||
if (_dikCode in (actionKeys "NightVision")) then {
|
if (_dikCode in (actionKeys "NightVision")) then {
|
||||||
if (EPOCH_playerEnergy == 0) then {
|
if (EPOCH_playerEnergy == 0) then {
|
||||||
|
["Night Vision Goggles: Need Energy", 5] call Epoch_message;
|
||||||
_handled = true;
|
_handled = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -1 +1 @@
|
|||||||
build=555;
|
build=556;
|
||||||
|
@ -1 +1 @@
|
|||||||
build=555;
|
build=556;
|
||||||
|
@ -1 +1 @@
|
|||||||
build=555;
|
build=556;
|
||||||
|
@ -1 +1 @@
|
|||||||
build=555;
|
build=556;
|
||||||
|
Loading…
Reference in New Issue
Block a user