lockInventory: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (2.00 update) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
|game1= | |game1= arma3 |Game name= | ||
|arg= global |Arguments in MP= | |arg= global |Arguments in MP= | ||
|eff= local |Effects in MP= | |eff= local |Effects in MP= | ||
|version= 2. | |version= 2.00 |Game version= | ||
|gr1= Unit Inventory |GROUP1= | |gr1= Unit Inventory |GROUP1= |
Revision as of 13:40, 14 October 2020
Description
- Description:
- Lock or unlock a vehicle's inventory access. This command can also lock backpack a unit is wearing to prevent access by a third party. If you set it true (locked), the inventory won't be accessed via hotkey or action menu.
- Groups:
- Unit Inventory
Syntax
- Syntax:
- vehicle lockInventory lock
- Parameters:
- vehicle: Object
- lock: Boolean
- Return Value:
- Nothing
Examples
- Example 1:
vehicle player lockInventory true;
- Example 2:
backpackContainer player lockInventory true;
Additional Information
- See also:
- lockedInventory
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