Module configs and function headers

This commit is contained in:
SilentSpike 2015-05-10 17:32:01 +01:00
parent 5166e73cc0
commit a40277f6f1
4 changed files with 38 additions and 2 deletions

View File

@ -16,7 +16,17 @@ class CfgPatches {
class CfgVehicles {
class Module_F;
class ModuleEmpty_F;
class ModuleCurator_F: Module_F {
function = QUOTE(FUNC(bi_moduleCurator));
};
class ModuleMine_F: ModuleEmpty_F {
function = QUOTE(FUNC(bi_moduleMine));
};
class ModuleOrdnance_F: Module_F {
function = QUOTE(FUNC(bi_moduleProjectile));
};
class ModuleRemoteControl_F: Module_F {
function = QUOTE(FUNC(bi_moduleRemoteControl));
};
};

View File

@ -12,8 +12,6 @@
* Public: No
*/
#include "script_component.hpp"
_logic = _this select 0;
_units = _this select 1;
_activated = _this select 2;

View File

@ -1,3 +1,17 @@
/*
* Author: Bohemia Interactive
* Module function for spawning mines
* Edited to remove forced map markers and mines being revealed to players
*
* Arguments:
* 0: The logic object <OBJECT>
*
* Return Value:
* nil
*
* Public: No
*/
_logic = _this select 0;
_units = _this select 1;
_activated = _this select 2;

View File

@ -1,3 +1,17 @@
/*
* Author: Bohemia Interactive
* Module function for remote controlling units as zeus
* Edited to remove global wind sound
*
* Arguments:
* 0: The logic object <OBJECT>
*
* Return Value:
* nil
*
* Public: No
*/
_logic = _this select 0;
_units = _this select 1;
_activated = _this select 2;