mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
FIX missing object for paradrop function
This commit is contained in:
parent
07f3a5f216
commit
74c4b274ff
@ -29,7 +29,7 @@ private _distBehind = ((_bb1 select 1) min (_bb2 select 1)) - 4; // 4 meters beh
|
|||||||
TRACE_1("",_distBehind);
|
TRACE_1("",_distBehind);
|
||||||
private _posBehindVehicleAGL = _vehicle modelToWorld [0, _distBehind, -2];
|
private _posBehindVehicleAGL = _vehicle modelToWorld [0, _distBehind, -2];
|
||||||
|
|
||||||
[_item, _posBehindVehicleAGL, _loaded, _vehicle] call ace_cargo_fnc_unload;
|
private _object = [_item, _posBehindVehicleAGL, _loaded, _vehicle] call ace_cargo_fnc_unload;
|
||||||
|
|
||||||
_object setVelocity ((velocity _vehicle) vectorAdd ((vectorNormalized (vectorDir _vehicle)) vectorMultiply -5));
|
_object setVelocity ((velocity _vehicle) vectorAdd ((vectorNormalized (vectorDir _vehicle)) vectorMultiply -5));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user