Page MenuHomeFeedback Tracker

menuInventory produces dummy backpacks
Closed, ResolvedPublic

Description

When utilizing the respawnTemplates entry, units with backpacks will drop their backpack when there's a backpack specified in a class within the cfgRespawnInventory class. If no backpack is specified the same occurs. {F22148} {F22149}

Details

Legacy ID
611457867
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce

( description.ext )
respawnDelay = 3;
respawnOnStart = 1;
respawnTemplates[] = { "menuInventory" };

class cfgRespawnInventory
{

class guer1
{
    displayName = "inventory 1";
};

];

( init.sqf )
[resistance, 'guer1'] call BIS_fnc_addRespawnInventory;

( insert unit )
Any unit with backpack - really.
I_engineer_F
// I_soldier_UAV_F

( ingame )
Enter the mission via editor and behold, your backpack is on the ground.
Enter through multiplayer (host, dedicated) and press ESC > Respawn.

Additional Information

This issue will occur regardless of unit, items added to an inventory, location or time. Even if you specify an alternative backpack (e.g. backpack = 'B_Carryall_cbr') it will drop the default backpack right underneath you.

I have added a barebones mission which has all the necessary code included.

Event Timeline

byrkoet edited Steps To Reproduce. (Show Details)Sep 18 2013, 12:15 AM
byrkoet edited Additional Information. (Show Details)
byrkoet set Category to Scripting.
byrkoet set Reproducibility to Always.
byrkoet set Severity to None.
byrkoet set Resolution to Fixed.
byrkoet set Legacy ID to 611457867.May 7 2016, 4:47 PM
Moricky added a subscriber: Moricky.May 7 2016, 4:47 PM

Caused by broken 'removeBackpack' command (reported internally).

I was about to report this myself good to see it's being sorted.

MadDogX added a subscriber: MadDogX.May 7 2016, 4:47 PM

Since this is caused by removeBackpack which has been reported as fixed today, this should be fixed too.

Confirm?

byrkoet added a subscriber: byrkoet.May 7 2016, 4:47 PM

Fixed, because command removeBackpack was remedied.