Is your feature request related to a problem?
Some mods (TFAR, ACRE, Unique Maps) use an ID system to track individual items. This will cause issues with getUnitLoadout and setUnitLoadout.
Solution you'd like:
CBA_fnc_getUnitLoadout that is a drop in replacement for its vanilla counterpart. Also create CBA_fnc_addUnitLoadoutFilter and CBA_fnc_removeUnitLoadoutFilter that take code as a parameter, that code takes a getUnitLoadout array and must return a getUnitLoadout array. The code will be used to replace any ID items with their base version.
Additional context:
ACRE Example
Is your feature request related to a problem?
Some mods (TFAR, ACRE, Unique Maps) use an ID system to track individual items. This will cause issues with
getUnitLoadoutandsetUnitLoadout.Solution you'd like:
CBA_fnc_getUnitLoadoutthat is a drop in replacement for its vanilla counterpart. Also createCBA_fnc_addUnitLoadoutFilterandCBA_fnc_removeUnitLoadoutFilterthat take code as a parameter, that code takes agetUnitLoadoutarray and must return agetUnitLoadoutarray. The code will be used to replace any ID items with their base version.Additional context:
ACRE Example