getSlotItemName: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix template usage) |
Lou Montana (talk | contribs) m (Text replacement - " |version1= 2.14 |branch= dev" to " |version1= 2.14") |
||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.14 | |version1= 2.14 | ||
Revision as of 17:49, 5 September 2023
Description
- Description:
- Returns the name of assigned item in given slot or the empty string.
- Groups:
- Unit Inventory
Syntax
- Syntax:
- unit getSlotItemName slot
- Parameters:
- unit: Object
- slot: Number - can be one of:
- 603 - Goggles
- 605 - Headgear
- 608 - Map
- 609 - Compass
- 610 - Watch
- 611 - Radio
- 612 - GPS
- 616 - HMD
- 617 - Binoculars
- 701 - Vest
- 801 - Uniform
- 901 - Backpack
- Return Value:
- String - item name
Examples
- Example 1:
Additional Information
- See also:
- assignedItems assignItem unassignItem linkItem unlinkItem addItem removeItem removeAllAssignedItems items itemsWithMagazines backpacks
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