BIS fnc deleteInventory: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= Inventory
|gr1= Inventory


| Delete loadout saved using [[BIS_fnc_saveInventory]].
|descr= Delete loadout saved using [[BIS_fnc_saveInventory]].


|s1=[unit,input] call [[BIS_fnc_deleteInventory]]
|s1=[unit,input] call [[BIS_fnc_deleteInventory]]

Revision as of 21:37, 13 June 2021

Hover & click on the images for description

Description

Description:
Delete loadout saved using BIS_fnc_saveInventory.
Execution:
call
Groups:
Inventory

Syntax

Syntax:
[unit,input] call BIS_fnc_deleteInventory
Parameters:
unit: Object - Unit whose inventory should be saved
input: Array in format:
Return Value:
Boolean

Examples

Example 1:
[ player, [missionNamespace, "BIS_inv"] ] call BIS_fnc_deleteInventory;

Additional Information

See also:
BIS_fnc_loadInventoryBIS_fnc_exportInventoryBIS_fnc_saveInventorygetUnitLoadout

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note