Skip to content

Commit

Permalink
Merge pull request #803 from ColdEvul/Updated-size-of-object
Browse files Browse the repository at this point in the history
Updated size of object
  • Loading branch information
AndreasBrostrom authored Oct 27, 2021
2 parents e698e5a + 096ad77 commit ca3c6f9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cScripts/functions/vehicle/fn_vehicle_addInventory.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ if (_vehicle iskindOf "MRAP_01_base_F") then {
// Cargo
switch (true) do {
case (_vehicle iskindOf "rhsusf_m998_w_2dr"): {
[_vehicle, 8, 40, false, false] call FUNC(setCargoAttributes);
[_vehicle, 8, 20, false, false] call FUNC(setCargoAttributes);
};
case (_vehicle iskindOf "rhsusf_m1152_base"): {
[_vehicle, 20, 40, false, false] call FUNC(setCargoAttributes);
[_vehicle, 20, 20, false, false] call FUNC(setCargoAttributes);
};
default {
[_vehicle, 4, 40, false, false] call FUNC(setCargoAttributes);
[_vehicle, 4, 20, false, false] call FUNC(setCargoAttributes);
};
};

Expand Down Expand Up @@ -180,7 +180,7 @@ if (_vehicle iskindOf "Truck_01_base_F") then {
};

if (_vehicle iskindOf "rhsusf_stryker_base") then {
[_vehicle, 6, 80, false, false] call FUNC(setCargoAttributes);
[_vehicle, 6, 38, false, false] call FUNC(setCargoAttributes);

switch (_vehicleType) do {
case "MED": {
Expand Down Expand Up @@ -432,5 +432,7 @@ if (_vehicle iskindOf "NDS_M224_mortar_base") then {
};

if (_vehicle iskindOf "RHS_C130J_Base") then {
[_vehicle, 45, -1, false, false] call FUNC(setCargoAttributes);

[_vehicle, []] call FUNC(addCargo);
};

0 comments on commit ca3c6f9

Please sign in to comment.