Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XEH - Add support for backpack containers #1385

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

commy2
Copy link
Contributor

@commy2 commy2 commented Oct 25, 2020

When merged this pull request will:

  • add XEH support for backpack containers
    spoiler"title"
class Extended_InitPost_EventHandlers {
    class Bag_Base {
        Mission_Test = "systemChat str _this; diag_log _this";
    };
};

Note however, that the retroactive flag does not seem to pick up already existing backpacks:

["Bag_Base", "InitPost", {
    systemChat str _this;
}, nil, nil, true] call CBA_fnc_addClassEventHandler;

@commy2 commy2 added this to the 3.15.2 milestone Oct 25, 2020
@commy2
Copy link
Contributor Author

commy2 commented Oct 25, 2020

For the problem above, I don't see a simple work around.

allMissionObjects "" apply {everyBackpack _x}

would be very slow.

@PabstMirror
Copy link
Contributor

Doesn't fire for backpacks added to cargo: car addBackpackCargo ["B_AssaultPack_mcamo_Ammo", 1]
or backpacks from disassembled static weapons

@PabstMirror PabstMirror modified the milestones: 3.15.2, Ongoing, 3.16 Nov 1, 2020
@PabstMirror PabstMirror modified the milestones: 3.16, Ongoing Jan 20, 2021
@PabstMirror PabstMirror modified the milestones: Ongoing, Backlog Feb 13, 2021
@jonpas jonpas added the WIP label Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants