Merge pull request #520 from EpochModTeam/experimental

0.3.8.0435
This commit is contained in:
vbawol 2016-04-24 16:22:02 -05:00
commit 7b41d30a24
32 changed files with 8 additions and 7 deletions

View File

@ -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;
};

View File

@ -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}";

View File

@ -1 +1 @@
build=430;
build=435;

View File

@ -1 +1 @@
build=430;
build=435;

View File

@ -1 +1 @@
build=430;
build=435;

View File

@ -1 +1 @@
build=430;
build=435;

View File

@ -1 +1 @@
430
435