BIS fnc saveInventory: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 35: Line 35:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[player, [missionNamespace, "inv"]] call [[BIS_fnc_saveInventory]] </code> |=  
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 22:15, 30 September 2014


Hover & click on the images for description

Description

Description:
/*

	Description:
	Save unit's loadout

	Parameter(s):
		0: OBJECT - unit of which loadout will be saved
		1: ARRAY in format
			0: NAMESPACE or GROUP or OBJECT - target in which namespace the loadout will be saved
			1: STRING - loadout name
		2 (Optional): ARRAY - custom params to be saved along the loadout (default: [])
		3 (Optional): BOOL - true to delete the loadout (default: false)

	Returns:
	ARRAY - saved value
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:
[player, [missionNamespace, "inv"]] call BIS_fnc_saveInventory

Additional Information

See also:
BIS_fnc_loadInventoryBIS_fnc_exportInventoryBIS_fnc_deleteInventory

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

Notes

Bottom Section