Skip to content
VN_fnc_whitelisted_arsenal_loadInventory

VN_fnc_whitelisted_arsenal_loadInventory

v1.00Theme: Arsenal, Loadouts & AppearanceGroup: Whitelisted arsenalArguments: localEffects: globalReturns: String

Adds loadout to character while also listing objects that have been skipped.

Syntax

[crate, settings, allowedItems] call VN_fnc_whitelisted_arsenal_loadInventory

Parameters

ParameterTypeDefaultDescription
crate Object— object that will have the items added to it
settings Array— format [namespace, loadoutName] - settings that are used to get the inventory
allowedItems Array— list of whitelisted items

Examples

[sogCrate, [missionNamespace, "Rifleman"], []] call VN_fnc_whitelisted_arsenal_loadInventory;

Documented by Ethan Johnson.