Commit 5b48e1b5 authored by rufix's avatar rufix

Add CBA custom events for preloadout and postloadout

parent 735c910b
......@@ -7,6 +7,7 @@ _config = configNull;
if (_loadConfig) then {
_config = missionConfigFile >> "CfgLoadouts" >> _loadout;
[_unit, _loadout] call compile (getText (_config >> "preLoadout"));
[QGVAR(preLoadout), [_unit, _loadout]] call CBA_fnc_localEvent;
};
_uniqueRadio = [_unit] call FUNC(getUniqueRadio);
......@@ -43,4 +44,5 @@ _unit selectWeapon (primaryWeapon _unit);
if (_loadConfig) then {
[_unit, _loadout] call compile (getText (_config >> "postLoadout"));
[QGVAR(postLoadout), [_unit, _loadout]] call CBA_fnc_localEvent;
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment