Page MenuHomeFeedback Tracker

Arsenal Load dialog incorrectly greys items (fix described)
New, NormalPublic


The Arsenal Load dialog will grey out list items when the item has a different "Binoculars" than the current character's "Binoculars". The code is checking the player's primary, secondary and launcher weapons plus their "Binoculars", but against a list that doesn't include the Arsenal's known "Binoculars". Because the player's "Binoculars" are included in the list of permitted weapons, if the player already has the "Binoculars" that the loadout proscribes, the loadout is bolded (not greyed).

This takes place in the "showTemplates" section of BIS_fnc_arsenal, though the bug is in the GETVIRTUALCARGO macro.

The code that makes the actual checks should be rewritten. It's very inefficient when an Arsenal's gear is restricted.


Operating System
Windows 7
Steps To Reproduce

Go with code inspection of the script area described above to understand this problem.

Additional Information

Listed as Major because this has been a long-standing problem with Arsenal that confuses a lot our players. Including me.

Event Timeline

JB47394 created this task.Feb 15 2018, 1:27 AM
JB47394 renamed this task from Arsenal Load dialog incorrectly greys items to Arsenal Load dialog incorrectly greys items (fix described).Feb 17 2018, 12:34 AM