items: Difference between revisions
Killzone Kid (talk | contribs) No edit summary |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 23: | Line 23: | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|r1= [[Array]] | |r1= [[Array]] of [[String]]s | ||
|x1= <sqf>_itemsPlayer = items player;</sqf> | |x1= <sqf>_itemsPlayer = items player;</sqf> | ||
Latest revision as of 11:36, 1 January 2026
Description
- Description:
- Returns an array of names of all unit's stored items, including weapons but excluding magazines (see itemsWithMagazines) and assignedItems.
- Groups:
- Unit Inventory
Syntax
Examples
- Example 1:
- Example 2:
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note
- Posted on Jan 19, 2022 - 16:01 (UTC)
- When using items on a player; any equipped primary/secondary weapon/launchers, as well as certain throwables i.e. chemlights, smokes, grenades etc. are not returned. For weapons and launchers that aren't stored inside a uniform, backpack or vest use weaponsItems. For throwables use magazines.