getSlotItemName: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 32: | Line 32: | ||
|x1= <sqf>hint (player getSlotItemName 610);</sqf> | |x1= <sqf>hint (player getSlotItemName 610);</sqf> | ||
|seealso= [[assignItem]] [[unassignItem]] [[linkItem]] [[unlinkItem]] [[addItem]] [[removeItem]] [[removeAllAssignedItems]] [[items]] [[itemsWithMagazines]] [[backpacks]] | |seealso= [[assignItems]] [[assignItem]] [[unassignItem]] [[linkItem]] [[unlinkItem]] [[addItem]] [[removeItem]] [[removeAllAssignedItems]] [[items]] [[itemsWithMagazines]] [[backpacks]] | ||
}} | }} |
Revision as of 10:45, 4 April 2023
Description
- Description:
- Returns the name of assigned item in given slot or the empty string. Supported slots are:
- 603 - Goggles
- 605 - Headgear
- 608 - Map
- 609 - Compass
- 610 - Watch
- 611 - Radio
- 612 - GPS
- 616 - HMD
- 617 - Binoculars
- 701 - Vest
- 801 - Uniform
- 901 - Backpack
- Groups:
- Unit Inventory
Syntax
- Syntax:
- unit getSlotItemName slot
- Parameters:
- slot: Number - see description
- Return Value:
- String - item name
Examples
- Example 1:
Additional Information
- See also:
- assignItems 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