Skip to content

Conflict between CBA_Events and CBA_Help prevents mission from loading #244

@commy2

Description

@commy2

CBA_fnc_readKeyFromConfig is intended to work with number entries (https://github.com/CBATeam/CBA_A3/blob/master/addons/events/fnc_readKeyFromConfig.sqf#L27), but the help module (https://github.com/CBATeam/CBA_A3/blob/master/addons/help/XEH_preClientInit.sqf#L62-L90) conflicts with that preventing the mission to start, because it assumes all entries of the sub classes in CfgSettings\CBA\Events\ are classes themselves.

Error message:
'action1/' is not a class ('key' accessed)

class CfgSettings {
    class CBA {
        class Events {
            class TestAddon {
                action1 = 15; // tab

                class action2 { // ctrl T
                    key = 20;
                    shift = 0;
                    ctrl = 1;
                    alt = 0;
                };
            };
        };
    };
};

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions