« Previous - Version 6/10 (diff) - Next » - Current version
Spooner, 06/27/2009 17:15


Making a component that uses CBA

Requiring CBA for an addon

In your CfgPatches configuration, ensure that CBA_main is one of the required addons (this will require all the other CBA PBOs, including Extended EventHandlers, for you).
1 requiredAddons[] = {"CBA_main"};

Any addon that just requires Extended_EventHandlers will work also with CBA, since XEH is a sub-component of CBA. However, the other CBA features will not be available to that addon.

Requiring CBA for a mission-maker

In the editor, place a Game Logics\CBA\Require CBA object anywhere in your mission. The only effect of this is that it will force any player to have CBA running as a mod before they can join the mission. CBA will start itself in any mission anyway, regardless of whether that logic has been placed.

test.sqf (618 Bytes) icecube, 02/07/2010 00:54

test.sqf (618 Bytes) icecube, 02/07/2010 00:57