Vdauphin
f9943658e9
Cargo - Support of object without ace_cargo_size
defined in config or -1
config value ( #6364 )
...
* 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
2018-05-31 22:48:19 -05:00
..
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2016-09-04 16:44:22 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-22 22:58:57 -05:00
2017-06-08 15:31:51 +02:00
2016-10-02 12:55:31 +02:00
2017-10-10 09:39:59 -05:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2018-04-15 12:59:14 +02:00
2015-12-12 16:48:54 +01:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2018-05-16 20:00:51 -05:00
2017-12-20 15:41:50 -06:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2018-02-10 03:32:14 +01:00
2017-12-16 11:51:15 -06:00
2017-11-11 20:21:55 +01:00
2017-12-10 12:13:17 -06:00
2018-02-09 14:27:21 -06:00
2017-06-08 15:31:51 +02:00
2017-12-20 15:41:06 -06:00
2017-06-08 15:31:51 +02:00
2017-11-29 14:07:30 -06:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2016-10-02 12:55:31 +02:00
2017-06-08 15:31:51 +02:00
2016-04-08 20:34:50 +02:00
2016-10-02 12:55:31 +02:00
2017-06-08 15:31:51 +02:00
2016-09-04 16:44:22 +02:00
2017-06-08 15:31:51 +02:00
2016-06-09 14:28:31 +02:00
2018-02-09 14:27:40 -06:00
2016-06-04 11:12:56 +01:00
2016-07-13 11:00:31 +02:00
2017-06-08 15:31:51 +02:00
2017-05-26 16:07:33 +01:00
2017-09-22 17:33:08 +02:00
2017-06-08 15:31:51 +02:00
2017-12-08 10:44:24 -06:00
2017-06-08 15:31:51 +02:00
2017-12-30 16:38:45 +03:00
2018-05-31 22:48:19 -05:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2018-01-15 19:02:06 +01:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2015-12-12 16:48:54 +01:00
2015-12-12 16:48:54 +01:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-08-22 16:21:41 -05:00
2017-08-22 16:21:41 -05:00
2015-12-12 16:48:54 +01:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-08-22 16:21:41 -05:00
2015-12-12 16:48:54 +01:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-09-26 21:47:13 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2015-12-12 16:48:54 +01:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2015-12-12 16:48:54 +01:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-12-20 14:30:50 -06:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-12-16 04:50:17 +01:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-10-01 13:38:11 -05:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-10-11 14:05:54 -05:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-10 11:41:01 +01:00
2017-06-10 11:41:01 +01:00
2018-02-10 03:31:38 +01:00
2017-06-08 15:31:51 +02:00
2017-08-12 14:25:48 +01:00
2017-06-08 15:31:51 +02:00
2015-12-18 11:08:10 -06:00
2017-10-01 13:38:11 -05:00
2018-02-13 13:27:57 -06:00
2017-10-01 13:38:11 -05:00
2017-12-11 13:10:30 -06:00
2017-11-11 20:21:55 +01:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-09-29 22:00:47 +02:00
2018-01-02 17:00:01 +00:00
2018-01-02 17:00:01 +00:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2016-09-30 15:51:03 +02:00
2017-11-29 13:36:48 -06:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-11-11 20:21:55 +01:00
2018-01-07 02:46:47 +01:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2016-06-18 11:50:41 +02:00
2017-08-22 16:21:41 -05:00
2016-01-06 15:57:09 +01:00
2017-06-08 15:31:51 +02:00
2016-06-02 20:13:09 -05:00
2018-04-10 03:55:28 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2018-05-16 07:53:09 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2016-10-27 19:54:58 +02:00
2017-06-08 15:31:51 +02:00
2017-11-11 20:21:55 +01:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-09-22 17:33:08 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2016-01-19 09:39:06 -06:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-12-07 11:26:21 -06:00
2017-06-08 15:31:51 +02:00
2018-04-09 16:20:03 +01:00
2018-02-09 15:31:05 -06:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-05-14 14:48:05 -05:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2016-06-03 22:39:43 +01:00
2017-06-08 15:31:51 +02:00
2016-05-31 22:36:08 +02:00
2017-09-22 17:33:08 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2017-09-22 17:33:08 +02:00
2017-06-08 15:31:51 +02:00
2017-06-08 15:31:51 +02:00
2016-10-04 05:29:37 +02:00