Arma 3 Scripting

Function in Inventory

BIS_fnc_inventoryExists

Also available as Markdown and JSON, or read the original wiki page.

Description

Check if loadout with given name exists.

Syntax

[source, name] call BIS_fnc_inventoryExists

Parameters:

Returns: Boolean - true if found, false otherwise

Examples

Example 1

private _hasSuperLoadout = [missionNamespace, "mySuperLoadout"] call BIS_fnc_inventoryExists;

See also

setUnitLoadout · getUnitLoadout · BIS_fnc_saveInventory · BIS_fnc_deleteInventory · BIS_fnc_loadInventory