Bury corpse to prevent desecration

This commit is contained in:
BaerMitUmlaut 2020-10-11 20:42:34 +02:00
parent 28e0491d3e
commit efd71c6179
2 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,7 @@ params ["_unit"];
private _clone = QGVAR(clone) createVehicle [0, 0, 0]; private _clone = QGVAR(clone) createVehicle [0, 0, 0];
_clone setUnitLoadout getUnitLoadout _unit; _clone setUnitLoadout getUnitLoadout _unit;
_clone setVariable [QGVAR(original), _unit]; _clone setVariable [QGVAR(original), _unit];
_unit hideObjectGlobal true; _unit setPosATL [0, 0, -10];
[QGVAR(cloneCreated), [_unit, _clone]] call CBA_fnc_globalEvent; [QGVAR(cloneCreated), [_unit, _clone]] call CBA_fnc_globalEvent;

View File

@ -18,7 +18,6 @@ params ["_clone"];
private _unit = _clone getVariable [QGVAR(original), objNull]; private _unit = _clone getVariable [QGVAR(original), objNull];
_unit setPosASL getPosASL _clone; _unit setPosASL getPosASL _clone;
_unit hideObjectGlobal false;
// Detach first to prevent objNull in attachedObjects // Detach first to prevent objNull in attachedObjects
detach _clone; detach _clone;