Page MenuHomeFeedback Tracker

NVGoggles are detected as incorrect cargotype.
New, WishlistPublic

Description

This is somewhat related to this ticket: http://feedback.arma3.com/view.php?id=1972

When checking the contents of a box, "NVGoggles" are listed as Weapons.

Adding them as Weapons however will give you bugged NVGoggles that somehow go in the Binocular-slot.

Adding them as Item works but that means they should be recognized by the getItemCargo command and not the getWeaponCargo

Details

Legacy ID
2348188386
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Create an empty box named "somebox".
Manually put some "NVGoggles" in it.

getItemCargo somebox;
returns => [[],[]]

getWeaponCargo somebox;
returns => [["NVGoggles"],[4]]

Create another empty box
somebox addWeaponCargo ["NVGoggles",3]

> You get 3 NVGoggles that are bugged

somebox addItemCargo ["NVGoggles",3]

> You get 3 NVGoggles that work nicely

Additional Information

Suggested fix:

getWeaponCargo -> should not list NVGoggles
getItemCargo -> should list NVGoggles

(this applies to all kinds of NVGoggles)

Event Timeline

Tajin edited Steps To Reproduce. (Show Details)May 23 2014, 2:46 PM
Tajin edited Additional Information. (Show Details)
Tajin set Category to Scripting.
Tajin set Reproducibility to Always.
Tajin set Severity to None.
Tajin set Resolution to Open.
Tajin set Legacy ID to 2348188386.May 7 2016, 6:39 PM
Bohemia added a subscriber: AD2001.May 23 2014, 2:46 PM