mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update addons/hitreactions/functions/fnc_throwWeapon.sqf
Co-Authored-By: jonpas <jonpas33@gmail.com>
This commit is contained in:
parent
0fc3cb0201
commit
0572ead9ca
@ -26,7 +26,7 @@ if (!isNull objectParent _unit || _weapon isEqualTo "") exitWith {objNull};
|
||||
|
||||
private _data = weaponsItems _unit select {_x select 0 == _weapon} select 0;
|
||||
|
||||
private _holder = createVehicle ["WeaponHolderSimulated", [0,0,0], [], 0, "CAN_COLLIDE"];
|
||||
private _holder = createVehicle ["WeaponHolderSimulated", [0, 0, 0], [], 0, "CAN_COLLIDE"];
|
||||
_holder addWeaponWithAttachmentsCargoGlobal [_data, 1];
|
||||
|
||||
private _vDir = _unit weaponDirection _weapon;
|
||||
|
Loading…
Reference in New Issue
Block a user