Title; since other functions work even if I lowercase the classnames, it is not really a consistent behavior.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Virtual Arsenal
Steps To Reproduce
- Place a box with its inventory space, name it box
- Execute this: [box,["g_airpurifyingrespirator_01_f"]] call BIS_fnc_addVirtualItemCargo
- It generates Arsenal action
- Check inside it, you don't have the APR [NATO]
Additional Information
Line 55 of fn_addVirtualItemCargo.sqf,
private _class = switch _type do { case 0; case 1: { configname (configfile >> "cfgweapons" >> _x) }; case 2: { configname (configfile >> "cfgmagazines" >> _x) }; case 3: { configname (configfile >> "cfgvehicles" >> _x) }; default { "" }; };
This part of it doesn't take CfgGlasses into count.