Page MenuHomeFeedback Tracker

backpackItems does also return magazines
Closed, ResolvedPublic

Description

The backpackItems command does not only return items, but also magazines.

Let's say you do:
_backPackItems = backpackItems player;

And:
{ (unitBackpack player) addItemCargo [_x, 1]; } forEach _backPackItems;

This will return an error, because it cannot add the magazines as weapon class.

There is also no need to include magazines, since we have the magazineCargo command for that.

Details

Legacy ID
2020506557
Severity
Minor
Resolution
Open
Reproducibility
Always
Category
Inventory

Event Timeline

sxp2high edited Steps To Reproduce. (Show Details)Mar 8 2013, 9:34 AM
sxp2high edited Additional Information. (Show Details)
sxp2high set Category to Inventory.
sxp2high set Reproducibility to Always.
sxp2high set Severity to Minor.
sxp2high set Resolution to Open.
sxp2high set Legacy ID to 2020506557.May 7 2016, 11:42 AM

Closing due to lack of activity in over five months. If this issue is still reproducable for you, please create a new ticket for it or ask for this one to be re-opened.