BIS fnc saveInventory: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
||
Line 4: | Line 4: | ||
| arma3 |Game name= | | arma3 |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 00:02, 31 August 2019
Description
- Description:
- Save unit's loadout.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [unit,input,params,delete] call BIS_fnc_saveInventory
- Parameters:
- unit: Object - Unit whose inventory should be saved
- input: Array in format:
- params: Array - (Optional, default [ ]) Custom parameters stored with the loadout
- delete: Boolean - (Optional, default false) Whether or not to delete the loadout
- Return Value:
- Array - Saved value
Examples
- Example 1:
[ player, [ missionNamespace, "BIS_inv"], [], true ] call BIS_fnc_saveInventory;
Additional Information
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