Page MenuHomeFeedback Tracker

removeItemFromXXX doesn't work with magazines but addItemToXXX does...
Closed, ResolvedPublic

Description

Forgive me if this is a duplicate, but the removeItemFromXXX commands do not work with magazines.

Details

Legacy ID
530792669
Severity
None
Resolution
Duplicate
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Place a NATO rifleman as the player and try to use: player removeItemFromUniform "30Rnd_65x39_caseless_mag";

Additional Information

Warning Message: No entry 'config.bin/CfgWeapons.30Rnd_65x39_caseless_mag'.
Warning Message: No entry '.scope'.
Warning Message: '/' is not a value
Warning Message: Error: creating weapon 30Rnd_65x39_caseless_mag with scope=private
Warning Message: No entry '.displayName'.
Warning Message: '/' is not a value
Warning Message: No entry '.nameSound'.
Warning Message: '/' is not a value
Warning Message: No entry '.type'.
Warning Message: '/' is not a value
Warning Message: No entry '.picture'.
Warning Message: '/' is not a value
Warning Message: No entry '.Library'.
Warning Message: No entry '.libTextDesc'.
Warning Message: '/' is not a value
Warning Message: No entry '.model'.
Warning Message: '/' is not a value
Warning Message: No entry '.simulation'.
Warning Message: '/' is not a value
Warning Message: No entry '.fireLightDuration'.
Warning Message: '/' is not a value
Warning Message: No entry '.fireLightIntensity'.
Warning Message: '/' is not a value
Warning Message: No entry '.fireLightDiffuse'.
Warning Message: Size: '/' not an array
Warning Message: Size: '/' not an array
Warning Message: No entry '.fireLightAmbient'.
Warning Message: Size: '/' not an array
Warning Message: Size: '/' not an array
Warning Message: No entry '.weaponLockDelay'.
Warning Message: '/' is not a value
Warning Message: No entry '.weaponLockSystem'.
Warning Message: '/' is not a value
Warning Message: No entry '.cmImmunity'.
Warning Message: '/' is not a value
Warning Message: No entry '.weight'.
Warning Message: '/' is not a value
Warning Message: No entry '.lockingTargetSound'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.lockedTargetSound'.
Warning Message: Size: '/' not an array
Warning Message: No entry '.detectRange'.
Warning Message: '/' is not a value
Warning Message: No entry '.muzzles'.
Warning Message: Size: '/' not an array

Event Timeline

Iceman77 edited Additional Information. (Show Details)
Iceman77 set Category to Scripting.
Iceman77 set Reproducibility to Always.
Iceman77 set Severity to None.
Iceman77 set Resolution to Duplicate.
Iceman77 set Legacy ID to 530792669.May 7 2016, 5:37 PM

Or could we atleast get a removeMagazineFromXXX series of commands?

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