mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
commit
7b41d30a24
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.
@ -85,7 +85,7 @@ if (!_ownedJammerExists) then{
|
||||
_limitNearby = getNumber(configfile >> "CfgVehicles" >> _staticClass >> "limitNearby");
|
||||
if (_limitNearby > 0) then{
|
||||
_objectCount = count nearestObjects[player, [_staticClass, _simulClass], _buildingJammerRange];
|
||||
if (_objectCount >= _limitNearby) then{
|
||||
if (_objectCount > _limitNearby) then{
|
||||
_buildingAllowed = false;
|
||||
[format["<t size = '1.6' color = '#99ffffff'>Building Disallowed: Limit %1</t>", _limitNearby], 5] call Epoch_dynamicText;
|
||||
};
|
||||
|
@ -21,7 +21,8 @@ class CfgActionMenu
|
||||
dyna_cursorTargetType = "typeOf ([10] call EPOCH_fnc_cursorTarget)";
|
||||
dyna_inVehicle = "vehicle player != player";
|
||||
dyna_itemsPlayer = "items player";
|
||||
dyna_distance = "(player distance dyna_cursorTarget) < 5";
|
||||
dyna_sizeOf = "((sizeOf dyna_cursorTargetType/2) max 5) min 30";
|
||||
dyna_distance = "(player distance dyna_cursorTarget) <= dyna_sizeOf";
|
||||
|
||||
dyna_buildMode = "([10] call EPOCH_fnc_cursorTarget) call EPOCH_checkBuild;";
|
||||
dyna_isVehicle = "if (!(isNull dyna_cursorTarget) && alive dyna_cursorTarget) then {((dyna_cursorTarget isKindOf 'LandVehicle') || (dyna_cursorTarget isKindOf 'Air') || (dyna_cursorTarget isKindOf 'Ship') || (dyna_cursorTarget isKindOf 'Tank'))} else {false}";
|
||||
|
@ -1 +1 @@
|
||||
build=430;
|
||||
build=435;
|
||||
|
@ -1 +1 @@
|
||||
build=430;
|
||||
build=435;
|
||||
|
@ -1 +1 @@
|
||||
build=430;
|
||||
build=435;
|
||||
|
@ -1 +1 @@
|
||||
build=430;
|
||||
build=435;
|
||||
|
Loading…
Reference in New Issue
Block a user