{"name":"items","title":"items","type":"command","url":"https://community.bistudio.com/wiki/items","revid":377151,"updated":"2026-01-01T10:36:00Z","groups":["Unit Inventory"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","locality":{"argument":"global"},"description":"Returns an array of names of all unit's stored items, including weapons but excluding magazines (see itemsWithMagazines) and assignedItems.","syntaxes":[{"syntax":"items unit","params":[{"name":"unit","type":"Object","type_expr":"Object"}],"returns":{"type":"Array of Strings","type_expr":"Array<String>"},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["_itemsPlayer = items player;"]},{"code":["player sideChat format [\"%1\", items player];"]}],"see_also":["itemsWithMagazines","assignedItems","primaryWeaponItems","secondaryWeaponItems","backpacks"],"notes":[{"user":"comp_uter15776","date":"2022-01-19T16:01:04Z","text":"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.\nFor weapons and launchers that aren't stored inside a uniform, backpack or vest use **weaponsItems**. For throwables use **magazines**."}]}