Update vanilla player build

Vanilla development commit:

20f992fcb7
This commit is contained in:
ebaydayz
2016-08-11 20:01:53 -04:00
parent d60600a825
commit b2394703f3
2 changed files with 6 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ class equip_woodensplint : CA_Magazine {
descriptionShort = $STR_ITEM_DESC_WOODENSPLINT;
model = "\z\addons\dayz_communityassets\models\woodensplint.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_woodensplint_ca.paa";
type = 256;
type = 256; //WeaponSlotItem * 2 in vanilla
class ItemActions {
class Use {
text = $STR_ACTIONS_BRACE_LEG;

View File

@@ -308,13 +308,11 @@ while {r_action_count != 0 and Dayz_constructionContext select 4} do {
};
_position = +(_tmp);
_object setPosATL _position;
};
// check now that ghost is not colliding
call _checkBuildingCollision;
diag_log format ["_objColliding: %1", _objColliding];
};
// try to dock a beam from current ghost to another beams nearby
call _checkBeam2Magnet;
if (_best select 0 < 0.50) then {
@@ -373,7 +371,7 @@ while {r_action_count != 0 and Dayz_constructionContext select 4} do {
};
};
};
uiSleep 0.01;
uiSleep 0.03;
};
if (!_actionBuildHidden) then { // player can't build until all is fine