Page MenuHomeFeedback Tracker

removing virtual cargo from VA adds arsenal action
New, WishlistPublic

Description

witnessed with:
BIS_fnc_removeVirtualWeaponCargo;
BIS_fnc_removeVirtualBackpackCargo;
BIS_fnc_removeVirtualItemCargo;
BIS_fnc_removeVirtualMagazineCargo;

those functions call BIS_fnc_AddVirtualItemCargo with 3rd parameter set to true, which adds the arsenal action.

behavior cant be turned off, as it is hardcoded in the above mentioned functions.
either a optional parameter to keep the arsenal action gone or setting it to false (would make more sense - if the action is not added with "AmmoboxInit" or adding content to the box the missionmaker might have its reasons) {F25650}

Details

Legacy ID
2115072463
Severity
None
Resolution
Open
Reproducibility
Always
Category
Virtual Arsenal
Steps To Reproduce
  1. place objects (player + something to put the ammobox on)
  2. write script which removes content from an virtual ammobox
  3. locate the not intenionally added action on the ammobox-object
  4. profit

alternative, use the provided mission

  1. start the mission
  2. walk up to the whitebord, sample how it should look
  3. look at the barrel, see arsenal action
  4. *sadface*
Additional Information

faulty magic happens below line 155 in "vaUndesiredActionAdded.VR\sc\VirtualArsenal.sqf"

dont be scared from the empty arrays, script has been simplified/adapted for the report - no need to to bug anyone with the item-whitelists for each faction in 3 types of camo ;)

Event Timeline

saintblood8 edited Additional Information. (Show Details)
saintblood8 set Category to Virtual Arsenal.
saintblood8 set Reproducibility to Always.
saintblood8 set Severity to None.
saintblood8 set Resolution to Open.
saintblood8 set Legacy ID to 2115072463.May 7 2016, 8:19 PM
saintblood8 added a subscriber: saintblood8.

edit: updated game version, from 1.38.128.937 to 1.40.129.533 (bug still present)

edit: updated game version - bug still present