From 6fdcede322527e826aeb62914a02d05cb8875e5f Mon Sep 17 00:00:00 2001 From: Zac Surplice Date: Mon, 28 Oct 2013 16:37:19 +1100 Subject: [PATCH] player_build.sqf enhancements --- SQF/dayz_code/actions/player_build.sqf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SQF/dayz_code/actions/player_build.sqf b/SQF/dayz_code/actions/player_build.sqf index 29c8a9999..1d0e3010a 100644 --- a/SQF/dayz_code/actions/player_build.sqf +++ b/SQF/dayz_code/actions/player_build.sqf @@ -295,7 +295,7 @@ if (_hasrequireditem) then { }; - sleep 0.1; + sleep 0.5; _location2 = getPosATL player; @@ -311,12 +311,12 @@ if (_hasrequireditem) then { if(_location1 distance _location2 > 5) exitWith { _isOk = false; _cancel = true; - _reason = "Moving too fast."; + _reason = "You've moved to far away from where you started building (within 5 meters)."; detach _object; deleteVehicle _object; }; - [format["Time left to build: %1",(ceil(_previewCounter))],0,0.8,0.1,0,0,8] spawn BIS_fnc_dynamicText; + [format["Time left to build: %1",(ceil(_previewCounter))],0,0.8,0.5,0,0,8] spawn BIS_fnc_dynamicText; if(_previewCounter <= 0) exitWith { _isOk = false; @@ -326,7 +326,7 @@ if (_hasrequireditem) then { deleteVehicle _object; }; - _previewCounter = _previewCounter - 0.1; + _previewCounter = _previewCounter - 0.5; if(abs(_objHDiff) > 5) exitWith { _isOk = false;