Skip to content

Commit

Permalink
Merge pull request #342 from Wired-Tiger/moduleDevelopment
Browse files Browse the repository at this point in the history
Module development
  • Loading branch information
Killswitch00 authored Jun 10, 2016
2 parents 7a198a5 + a7df980 commit f5f9462
Show file tree
Hide file tree
Showing 12 changed files with 1,447 additions and 0 deletions.
1 change: 1 addition & 0 deletions addons/modules/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
x\cba\addons\modules
6 changes: 6 additions & 0 deletions addons/modules/CfgFactionClasses.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class CfgFactionClasses {
class NO_CATEGORY;
class CBA_Modules: NO_CATEGORY {
displayName = CSTRING(Category_DisplayName);
};
};
37 changes: 37 additions & 0 deletions addons/modules/CfgFunctions.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

class CfgFunctions
{
class CBA
{
class Modules
{
// CBA_fnc_getPosFromString
class getPosFromString
{
description = "A function to get the position of an item passed as a string.";
file = "\x\cba\addons\modules\fnc_getPosFromString.sqf";
};

// CBA_fnc_moduleAttack
class moduleAttack
{
description = "A function used to set a group to attack a position through a module.";
file = "\x\cba\addons\modules\fnc_moduleAttack.sqf";
};

// CBA_fnc_moduleDefend
class moduleDefend
{
description = "A function used to set a group to defend a position through a module.";
file = "\x\cba\addons\modules\fnc_moduleDefend.sqf";
};

// CBA_fnc_modulePatrol
class modulePatrol
{
description = "A function used to set a group to patrol a position through a module.";
file = "\x\cba\addons\modules\fnc_modulePatrol.sqf";
};
};
};
};
Loading

0 comments on commit f5f9462

Please sign in to comment.