Putting the bird in its cage

This commit is contained in:
SilentSpike 2015-05-12 12:26:24 +01:00
parent f6cdad62ca
commit 228786f3ad
3 changed files with 21 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class CfgVehicles {
};
class ModuleCurator_F: Module_F {
function = QUOTE(DFUNC(bi_moduleCurator));
function = QUOTE(DFUNC(moduleCuratorDelay));
};
class ModuleMine_F: ModuleEmpty_F {
function = QUOTE(DFUNC(bi_moduleMine));

View File

@ -6,6 +6,7 @@ PREP(bi_moduleCurator);
PREP(bi_moduleMine);
PREP(bi_moduleProjectile);
PREP(bi_moduleRemoteControl);
PREP(moduleCuratorDelay);
PREP(moduleZeusSettings);
ADDON = true;

View File

@ -0,0 +1,19 @@
/*
* Author: SilentSpike
* Function that delays the execution of the curator module function
* Allows ascension and bird settings to be set by module beforehand
*
* Arguments:
* 0: The module logic <LOGIC>
* 1: units <ARRAY>
* 2: activated <BOOL>
*
* Return Value:
* None <NIL>
*
* Public: No
*/
#include "script_component.hpp"
[{_this spawn DFUNC(bi_moduleCurator);},_this] call EFUNC(common,execNextFrame);