mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
* Add: Now findUnloadPosition support also cargo object - use of ace_cargo_fnc_getSizeItem to determine size of item - prefer the config way instead of manually set size - This will also take into account object manually added to the cargo system with ace_cargo_fnc_setsize - use the cargo object for ace_cargo_fnc_unloadItem. * FIX: old work around * FIX: error when cargo module is not loaded * As suggested by @orbis2358 This fix handle the case when cargo module is not loaded for scheduled and unscheduled environnement. * Use ACE framework to check if module is present * FIX: EFUNC and isEqualto - _itemSize here is always number - here we are in common module (addons/common/functions/fnc_findUnloadPosition) so FUNC is ace_common_fnc * FIX case where config value is `-1` - if the config value is -1, get the `ace_cargo_size` from the `ace_cargo_fnc_getSizeItem - https://github.com/acemod/ACE3/issues/6357#issuecomment-393525374 |
||
---|---|---|
.. | ||
fnc_addCargoItem.sqf | ||
fnc_addCargoVehiclesActions.sqf | ||
fnc_canLoadItemIn.sqf | ||
fnc_canUnloadItem.sqf | ||
fnc_getCargoSpaceLeft.sqf | ||
fnc_getSizeItem.sqf | ||
fnc_handleDestroyed.sqf | ||
fnc_initObject.sqf | ||
fnc_initVehicle.sqf | ||
fnc_loadItem.sqf | ||
fnc_moduleSettings.sqf | ||
fnc_onMenuOpen.sqf | ||
fnc_paradropItem.sqf | ||
fnc_removeCargoItem.sqf | ||
fnc_setSize.sqf | ||
fnc_setSpace.sqf | ||
fnc_startLoadIn.sqf | ||
fnc_startUnload.sqf | ||
fnc_unloadItem.sqf | ||
fnc_validateCargoSpace.sqf | ||
script_component.hpp |