mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 18:36:29 +03:00
Remove some more glitched map objects
Vanilla commits:db5aa2063c88458846e91ec13bdfd0
This commit is contained in:
@@ -1,17 +1,32 @@
|
||||
/*
|
||||
Hide glitched map objects which can not be deleted
|
||||
HideObject is preferable to setDam because effects are not broadcasted over the network
|
||||
Hide glitched map objects which can not be deleted, and disable loot spawn on them
|
||||
HideObject is preferable to setDam because effects are not broadcast over the network
|
||||
and there are no laggy destruction effects (smoke etc.)
|
||||
*/
|
||||
private "_object";
|
||||
|
||||
{(_x select 0) nearestObject (_x select 1) hideObject true} count [
|
||||
{
|
||||
_object = (_x select 0) nearestObject (_x select 1);
|
||||
_object hideObject true;
|
||||
_object setVariable ["looted",999999,false];
|
||||
} count [
|
||||
//Clip into Land_houseV_2T2 interior
|
||||
[[3555,2560,0],327215], //psi_bouda.p3d dog house //smoke after setDam
|
||||
[[3555,2560,0],327215], //psi_bouda.p3d dog house
|
||||
|
||||
//Clip into zero_building Land_HouseV_3I3
|
||||
[[2799,5209,0],187483], //fuel_tank_small.p3d //still visible and inflamed after setDam
|
||||
[[2800,5200,0],187495], //psi_bouda.p3d dog house //smoke after setDam
|
||||
[[2799,5209,0],187483], //fuel_tank_small.p3d
|
||||
[[2800,5200,0],187495], //psi_bouda.p3d dog house
|
||||
|
||||
//Clip into zero_building Land_HouseV_1L2
|
||||
[[3672,2435,0],327675] //kbud.p3d outhouse
|
||||
];
|
||||
[[3672,2435,0],327675], //kbud.p3d outhouse
|
||||
|
||||
//Floating zero_building Land_Shed_W4
|
||||
[[7261,2799,0],342775]
|
||||
];
|
||||
|
||||
//Respawn at correct position
|
||||
[[
|
||||
["Land_Shed_W4",[7261.45,2799.33,0],317.308],
|
||||
["Fence_corrugated_plate",[7262.15,2805.85,0],142.308],
|
||||
["Fence_corrugated_plate",[7265.2,2808.42,0],137.308]
|
||||
],true,true,true] call fnc_spawnObjects;
|
||||
Reference in New Issue
Block a user