Difference between revisions of "CfgPatches"

From Desolation REDUX Wiki
Jump to navigation Jump to search
(Created page with "The configfile should always start withthe definition ofCfgPatches. If you wantto use function of other Plugins, youcan use ‘requiredAddons[]‘ to define thedependencies. A...")
(No difference)

Revision as of 16:47, 20 March 2020

The configfile should always start withthe definition ofCfgPatches. If you wantto use function of other Plugins, youcan use ‘requiredAddons[]‘ to define thedependencies. An example CfgPatcheslooks as following:

class CfgPatches {

class ExamplePluginName {
   requiredAddons[] = {"Desolation"};
   units[] = {};
};

};

Note: theunits[] = {};is required to makethe Plugin Community Based Addons (CBA)compatible