mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update fnc_paradropItem.sqf
apply new fix
This commit is contained in:
parent
0dd075f2bf
commit
3db5cc1910
@ -48,8 +48,8 @@ if (_item isEqualType objNull) then {
|
|||||||
_object = createVehicle [_item, _posBehindVehicleAGL, [], 0, "NONE"];
|
_object = createVehicle [_item, _posBehindVehicleAGL, [], 0, "NONE"];
|
||||||
_object setPosASL (AGLtoASL _posBehindVehicleAGL);
|
_object setPosASL (AGLtoASL _posBehindVehicleAGL);
|
||||||
};
|
};
|
||||||
|
private _velocity((velocity _vehicle) vectorAdd ((vectorNormalized (vectorDir _vehicle)) vectorMultiply -5));
|
||||||
_object setVelocity ((velocity _vehicle) vectorAdd ((vectorNormalized (vectorDir _vehicle)) vectorMultiply -5));
|
[QEGVAR(common,setVelocity), [_object, _velocity],_object] call CBA_fnc_targetEvent;
|
||||||
|
|
||||||
// open parachute and ir light effect
|
// open parachute and ir light effect
|
||||||
[{
|
[{
|
||||||
|
Loading…
Reference in New Issue
Block a user