VN_fnc_whitelisted_arsenal_loadInventory

From Savage Game Design Wiki
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): local
Effect(s): global

Description

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

Syntax

Syntax
[crate, settings, allowedItems] call VN_fnc_whitelisted_arsenal_loadInventory
Parameters
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
Return value
String

Examples

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