mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
@@ -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;
|
||||
|
||||
@@ -307,13 +307,11 @@ while {r_action_count != 0 and Dayz_constructionContext select 4} do {
|
||||
_object setVectorUp [0,0,1];
|
||||
};
|
||||
_position = +(_tmp);
|
||||
_object setPosATL _position;
|
||||
|
||||
// check now that ghost is not colliding
|
||||
call _checkBuildingCollision;
|
||||
|
||||
diag_log format ["_objColliding: %1", _objColliding];
|
||||
_object setPosATL _position;
|
||||
};
|
||||
|
||||
// check now that ghost is not colliding
|
||||
call _checkBuildingCollision;
|
||||
|
||||
// try to dock a beam from current ghost to another beams nearby
|
||||
call _checkBeam2Magnet;
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user