The command return the false types of weapons.
Description
Details
- Legacy ID
- 814214272
- Severity
- None
- Resolution
- No Bug
- Reproducibility
- Always
- Category
- Scripting
- Put two "hgun_P07_F" and two "hgun_P07_snds_F" in a crate.
- systemChat format["output : %1",getWeaponCargo cursorTarget]
- The Result is [["hgun_P07_snds_F"],[4]]
And this is wrong!!!
This bug is because -> http://feedback.arma3.com/view.php?id=21695
Event Timeline
Same with bug with the "weaponCargo" command!!!
Same problem with this weapons:
hgun_Rook40_F and hgun_Rook40_snds_F = two hgun_Rook40_snds_F
Ok, if you spawn two "hgun_Rook40_snds_F" and put of one the "muzzle_snds_L" away. Then you have a "hgun_Rook40_snds_F" and a "hgun_Rook40_F". But Arma3 or the crate dont understand this.
If you spawn (with a script command) a "hgun_Rook40_F" and a "hgun_Rook40_snds_F" then getWeaponCargo return the correct result ([["hgun_Rook40_F","hgun_Rook40_snds_F"],[1,1]]).
Cannot confirm.
wh = "weaponholdersimulated" createvehicle position player;
wh addWeaponCargoGlobal ["hgun_P07_F", 2];
wh addWeaponCargoGlobal ["hgun_P07_snds_F", 2];
hint str getWeaponCargo wh;
[["hgun_P07_F","hgun_P07_snds_F"],[2,2]]
KK the problem is this -> http://feedback.arma3.com/view.php?id=21695
I spawn two "hgun_P07_snds_F" and from one i put of the silencer. Then put the P07 with Silencer and the P07 without silencer in a crate and execute the commdand. You will see the result are two "hgun_P07_snds_F". And that is horrible for housing systems...
So shall I resolve this ticket as no bug, since getWeaponCargo works as it should and the problem is with how guns with default attachments are handled by the engine?