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

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 addons, including Extended EventHandlers for you).
1 requiredAddons[] = {"CBA_main"};

Requiring CBA for a mission-maker

Place a Game Logics\CBA\Require CBA object anywhere in your mission in the editor. 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