This commit is contained in:
Zac Surplice
2013-11-26 11:32:56 +11:00
4 changed files with 5 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ _vehiclePos = aimpos _vehicle;
_playerPos = visiblePositionASL player;
// ignore if distance is too far
if((_playerPos distance _vehiclePos) < 10) exitWith {};
if((_playerPos distance _vehiclePos) > 10) exitWith {};
// Important! without this we looking at the players feet this gets us torso area
_playerPos set [2,(_playerPos select 2)+1];

View File

@@ -18,6 +18,8 @@ dayz_combat = 1;
if (_ammo isKindOf "Melee") exitWith {
_unit playActionNow "GestureSwing";
[1,1] call dayz_HungerThirst;
// harvest wood check
_id = _this spawn player_harvest;
};