mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Bury corpse to prevent desecration
This commit is contained in:
parent
28e0491d3e
commit
efd71c6179
@ -19,7 +19,7 @@ params ["_unit"];
|
||||
private _clone = QGVAR(clone) createVehicle [0, 0, 0];
|
||||
_clone setUnitLoadout getUnitLoadout _unit;
|
||||
_clone setVariable [QGVAR(original), _unit];
|
||||
_unit hideObjectGlobal true;
|
||||
_unit setPosATL [0, 0, -10];
|
||||
|
||||
[QGVAR(cloneCreated), [_unit, _clone]] call CBA_fnc_globalEvent;
|
||||
|
||||
|
@ -18,7 +18,6 @@ params ["_clone"];
|
||||
|
||||
private _unit = _clone getVariable [QGVAR(original), objNull];
|
||||
_unit setPosASL getPosASL _clone;
|
||||
_unit hideObjectGlobal false;
|
||||
|
||||
// Detach first to prevent objNull in attachedObjects
|
||||
detach _clone;
|
||||
|
Loading…
Reference in New Issue
Block a user