ACE3/addons/cargo
Lupus the Canine 2973ea5814
Cargo - paradrop fixes (#8203)
* Small fixes in ace_cargo

Makes paradropItem and unloadItem invoke event "ace_cargoUnloaded" with parameters _itemObject, _vehicle and "paradrop" or "unload" respectivelty.
paradropItem invoked said event but if item was classname it would send classname to event which is not particularly useful.

* Update XEH_postInit.sqf

Moved event invocation to unloadItem, this provides ability to always pass object to eventhandlers.

* code refactor

refactored according to https://github.com/acemod/ACE3/pull/8203#discussion_r610394484

* Update fnc_paradropItem.sqf

apply new fix

* Revert "Update fnc_paradropItem.sqf"

This reverts commit 3db5cc1910.

* Update fnc_paradropItem.sqf

fixed hint that was broken by previous fixes

* style check

Co-authored-by: commy2 <commy-2@gmx.de>

* style check

Co-authored-by: commy2 <commy-2@gmx.de>

* naming convention

replaced object references called _item with _object.

* Update fnc_paradropItem.sqf

Co-authored-by: commy2 <commy-2@gmx.de>
2021-04-30 22:38:57 -05:00
..
functions Cargo - paradrop fixes (#8203) 2021-04-30 22:38:57 -05:00
UI Remove deprecated functionality for 3.12.0 (#5878) 2017-12-10 13:38:32 +00:00
$PBOPREFIX$ add PBO to load things into vehicles 2015-03-29 15:20:39 +02:00
ACE_Settings.hpp Logistics - Move to CBA settings and organize in subcategories (#6284) 2018-07-05 11:29:32 -05:00
CfgEden.hpp Various - Use configOf command for faster lookup (#8100) 2021-02-18 12:58:08 -06:00
CfgEventHandlers.hpp Cargo - Fix loaded cargo not being deleted when vehicle is destroyed (#7851) 2020-08-18 12:42:09 -05:00
CfgVehicles.hpp Cargo - fix tankf (#7124) 2019-08-07 22:38:40 -05:00
config.cpp Add cargo eden attributes (#4780) 2017-05-31 23:54:57 +01:00
initSettings.sqf initial push (#8099) 2021-02-18 12:58:26 -06:00
menu.hpp Convert all true/false in configs to 0/1 (#8095) 2021-02-08 04:14:45 +01:00
README.md README.md files added to all modules 2015-08-19 04:18:33 +02:00
script_component.hpp cargo - use getInteractionDistance to get better distance (#5697) 2017-11-10 15:28:12 +01:00
stringtable.xml Update: Minor changes on Simplified Chinese translation. (#7829) 2020-08-04 10:15:03 -05:00
XEH_postInit.sqf Cargo - paradrop fixes (#8203) 2021-04-30 22:38:57 -05:00
XEH_preInit.sqf Cargo - Fix loaded cargo not being deleted when vehicle is destroyed (#7851) 2020-08-18 12:42:09 -05:00
XEH_PREP.hpp Cargo - Fix loaded cargo not being deleted when vehicle is destroyed (#7851) 2020-08-18 12:42:09 -05:00
XEH_preStart.sqf Cargo - Cache cargo vehicle classes (#6806) 2019-02-17 11:41:05 -06:00

ace_cargo

Adds cargo menu to vehicles and allows loading and unloading of cargo items.

Maintainers

The people responsible for merging changes to this component or answering potential questions.