mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-04 18:29:34 +03:00
Small update to object_build
Vanilla commit: https://github.com/DayZMod/DayZ/commit/a10173443b4d47d4f9739a50759d68c27b6340df
This commit is contained in:
1 parent
b2dfa058b0
commit
7415c21c2b
1 file changed
+2
-2
@@ -22,9 +22,9 @@ if (_build) then {
|
||||
_direction = getDir _ghost;
|
||||
_object = createVehicle [_classname, getMarkerpos "respawn_west", [], 0, "CAN_COLLIDE"];
|
||||
|
||||
// if (_object isKindOf "DZ_buildables") then { _object allowDamage false; };
|
||||
_object setDir _direction;
|
||||
if ((Dayz_constructionContext select 5) or _keepOnSlope) then {
|
||||
|
||||
if ((Dayz_constructionContext select 5) or (_keepOnSlope)) then {
|
||||
_object setVectorUp surfaceNormal _location;
|
||||
_location set [2,0];
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user