fixes to building and crafting

+ [CHANGED] Lowered build preview count to 3 from 10.
This commit is contained in:
vbawol
2013-04-21 12:14:10 -05:00
parent 407e67067d
commit cda602ece3
6 changed files with 1008 additions and 17 deletions

View File

@@ -30,7 +30,7 @@ if(_classname == "Plastic_Pole_EP1_DZ") then {
} else {
_IsNearPlot = count (position player nearObjects ["Plastic_Pole_EP1_DZ",30]);
};
if(_IsNearPlot == 0) exitWith { TradeInprogress = false; cutText [format["Building requires plot within 30m %1",_missing] , "PLAIN DOWN"]; };
if(_IsNearPlot == 0) exitWith { TradeInprogress = false; cutText ["Building requires plot within 30m" , "PLAIN DOWN"]; };
_missing = "";
_hasrequireditem = true;
@@ -90,7 +90,7 @@ if (_hasrequireditem) then {
_reason = "Moving to fast.";
};
if(_counter >= 10) exitWith {
if(_counter >= 3) exitWith {
_isOk = false;
_cancel = true;
_reason = "Ran out of time to find position.";