Ilias38rus
Doesn't work for backpacks in backpack, unlike getUnitLoadout.
Results appear below as you type; use the arrow keys to move through them.
Save unit's loadout.
[unit, input, params, delete] call BIS_fnc_saveInventory
Parameters:
unit: Object - unit whose inventory should be saved
input: Array format [target, loadoutName]:
params: Array - (Optional, default []) custom parameters stored with the loadout
delete: Boolean - (Optional, default false) whether or not to delete the loadout
Returns: Array - saved value
[player, [missionNamespace, "BIS_inv"], [], true] call BIS_fnc_saveInventory;
BIS_fnc_loadInventory · BIS_fnc_exportInventory · BIS_fnc_deleteInventory · getUnitLoadout
Doesn't work for backpacks in backpack, unlike getUnitLoadout.