You cannot remove the Binoculars (Probably more but untested) from the uniform/vest/backpack containers.
Tested with both removeItem and removeWeapon and nothing, it does remove its self with removeWeapon if the binocular is in its binoc slot.
You cannot remove the Binoculars (Probably more but untested) from the uniform/vest/backpack containers.
Tested with both removeItem and removeWeapon and nothing, it does remove its self with removeWeapon if the binocular is in its binoc slot.
Errm,
have you tried unassigning the binocalur before removing?
https://community.bistudio.com/wiki/unassignItem
As far as I remember, the same happened with NV goggles. They just didn't disappear with only removeWeapon or removeItem.
Not sayin' good night, just sayin'...
The thing is, unassignItem is meant for unlinking it from it's designated slot / container. You can simply use the in-game inventory GUI to move the binoculars from the bino slot / container and into your inventory and you can't remove it with removeWeapon or removeItem. That's the issue that is present. Once a binocular based item is in a inventory container it can't be removed via script, the only work-around way is to assign the item then use removeWeapon but we shouldn't have to create work-arounds for a scripting command that should already remove it.
Items such as NV Goggles remove just fine from inventory containers with removeItem.
Can confirm this is true of all binocular type items (rangefinder and laser designator). Have tried combinations of the following; removeItem, unassignItem, removeWeapon and removeWeaponCargo.
Instead of creating a new ticket for this it appears that with the ARMA 3 1.18 Build and current Dev-build (5/20/2014) the issue has spread to all weapon based entities.
You cannot remove any weapon type from any container with removeItem, removeItemFromXYZ. This was working before Stable build 1.18 (1.14 if I recall).
Removing items them selves works just fine such as Scopes, Suppressors, glasses, hats, etc but not weapons.
Seeing the same thing here Tonic. Would be nice if this could be fixed with the addition of removeWeaponCargo / removeWeaponCargoGlobal commands.