Page MenuHomeFeedback Tracker

removeItemFrom... does not remove magazines
Closed, ResolvedPublic


The removeItemFromBackpack (vest, uniforms also) produce an error when they encounter a magazine class item; works with weapon class items.


Legacy ID
Steps To Reproduce

private ["_PlayerBackpackItemsArray "];

_PlayerBackpackItemsArray = backpackItems player;
player removeItemFromBackpack _x;
} forEach _PlayerBackpackItemsArray ;

Event Timeline

caliban55 edited Steps To Reproduce. (Show Details)Nov 4 2013, 5:51 PM
caliban55 edited Additional Information. (Show Details)
caliban55 set Category to Scripting.
caliban55 set Reproducibility to Always.
caliban55 set Severity to None.
caliban55 set Resolution to Fixed.
caliban55 set Legacy ID to 924821199.May 7 2016, 5:20 PM
Bohemia added a subscriber: Pancake.Nov 4 2013, 5:51 PM

Confirmed (latest dev build)

'RemoveItem' and 'RemoveItemFromXXX' also doesn't work with weapons even though the 'AddItem' variant does work with weapons.

EDIT: 'RemoveItem' also doesn't work with goggles.

should be fixed since DEV. 124416 (will be distributed tomorrow)

Thank you japapatramtara.

I am not using the DEV build, so I can't test this, maybe someone else can help out with this. I will check it, when it is released into the stable branch.

The removeItem commands work now on weapons/magazines/glasses.

Though it seems the 'removeItems' command isn't accepting weapons/magazines/glasses.

An alternative would be just to use 'itemsWithMagazines' command in a loop with 'removeItem'.

so I guess we can close this issue as Resolved?

Yes, japapatramtara, you can close this ticket as successfully resolved. Thank you!

wow another day, another resolved task.. another beer for japapatramtara ;-)

MadDogX added a subscriber: MadDogX.May 7 2016, 5:20 PM

Mass closing tickets marked as resolved more than 1 month ago.

If the issue is in fact not resolved, please create a new ticket referencing this one and ask for it to be re-opened.