Returned value: Array of Arrays: All virtual items within the target's space in format Įxample: ,true] call BIS_fnc_addVirtualWeaponCargo addAction (Optional): Boolean - true to add "Arsenal" action which players can access the Arsenal (default: true).isGlobal (Optional): Boolean - true to add classes globally (default: false).Alternatiovely, use true to whitelist everything of the given type classes: Boolean or Array of Strings - whitelisted classes.When missionNamespace is used, they will be available across all boxes. target: Object or Namespace - ammo box to which classes will be added.Syntax (shared by all mentioned functions):
You can preview all functions in in-game Functions viewer (while in editor, press Functions button or Ctrl + F) To set which specific items should be available, use functions mentioned below. Passed arguments are the same as in addAction condition, i.e., _target - the box, _this - callerĮxample (paste it into init field of a box)Ġ = ] spawn BIS_fnc_arsenal.This forceAddUniform "U_I_CombatUniform" įor "_i" from 1 to 4 do ) Use this to share loadouts with other players.Įxample: comment "Exported from Arsenal by DavidArmstrong85"
You can take the same code and import it (Ctrl + V) back to Arsenal. You can paste it to soldier's init field or use it in a script. Clicking on EXPORT button or pressing Ctrl + C will copy the current loadout to clipboard in SQF format.