Tripod - use addToInventory

This commit is contained in:
PabstMirror 2015-06-05 21:13:33 -05:00
parent 237b5b4e35
commit 732dbd315a

View File

@ -18,13 +18,13 @@
PARAMS_2(_tripod,_unit); PARAMS_2(_tripod,_unit);
if ((_unit call CBA_fnc_getUnitAnim) select 0 == "stand") then { if ((_unit call CBA_fnc_getUnitAnim) select 0 == "stand") then {
_unit playMove "AmovPercMstpSrasWrflDnon_diary"; _unit playMove "AmovPercMstpSrasWrflDnon_diary";
}; };
[{ [{
PARAMS_2(_tripod,_unit); PARAMS_2(_tripod,_unit);
_unit addItem "ACE_Tripod"; [_unit, "ACE_Tripod"] call EFUNC(common,addToInventory);
deleteVehicle _tripod; deleteVehicle _tripod;
}, [_tripod, _unit], 1, 0]call EFUNC(common,waitAndExecute); }, [_tripod, _unit], 1, 0]call EFUNC(common,waitAndExecute);