Page MenuHomeFeedback Tracker

[Feature Request] get/setVehicleInventory/Cargo
New, NormalPublic

Description

Commands similar to get/setUnitLoadout, just for vehicles/containers.

Would allow us to get rid of something like this:

if !(local this) exitWith {};

clearWeaponCargoGlobal this;
clearMagazineCargoGlobal this;
clearItemCargoGlobal this;
clearBackpackCargoGlobal this;

{
  this addWeaponCargoGlobal _x;
} forEach [["arifle_MX_GL_F", 1], ["arifle_MX_SW_F", 1], ["srifle_EBR_F", 1], ["srifle_LRR_F", 1], ["srifle_DMR_02_F", 1], ["launch_NLAW_F", 1], ["arifle_MX_F", 2]];
......
......
{
  this addBackpackCargoGlobal _x;
} forEach [["B_Kitbag_rgr", 2]];

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

R3vo created this task.Jun 24 2021, 6:55 PM
TRAGER added a subscriber: TRAGER.Jun 25 2021, 3:18 AM
R3vo removed a subscriber: R3vo.Jul 21 2021, 6:10 PM