mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
using PVEH PVDZE_obj_Remove. Wrecks only exist for the players currently in the server when the parent object is destroyed. Passing the object through the PVEH does not work.
11 lines
185 B
Plaintext
11 lines
185 B
Plaintext
private "_pos";
|
|
|
|
//if (isNil {_this select 0}) exitWith {[0,0,0]};
|
|
_thingy = _this select 0;
|
|
_pos = getPosASL _thingy;
|
|
|
|
if !(surfaceIsWater _pos) then {
|
|
_pos = ASLToATL _pos;
|
|
};
|
|
|
|
_pos |