BIS fnc deleteInventory: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|" to "|")
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
Line 9: Line 9:
| Delete loadout saved using [[BIS_fnc_saveInventory]].
| Delete loadout saved using [[BIS_fnc_saveInventory]].


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


|p1= unit: [[Object]] - Unit whose inventory should be saved
|p1= unit: [[Object]] - Unit whose inventory should be saved

Revision as of 15:57, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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