mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Putting the bird in its cage
This commit is contained in:
parent
f6cdad62ca
commit
228786f3ad
@ -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));
|
||||
|
@ -6,6 +6,7 @@ PREP(bi_moduleCurator);
|
||||
PREP(bi_moduleMine);
|
||||
PREP(bi_moduleProjectile);
|
||||
PREP(bi_moduleRemoteControl);
|
||||
PREP(moduleCuratorDelay);
|
||||
PREP(moduleZeusSettings);
|
||||
|
||||
ADDON = true;
|
||||
|
19
addons/zeus/functions/fnc_moduleCuratorDelay.sqf
Normal file
19
addons/zeus/functions/fnc_moduleCuratorDelay.sqf
Normal 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);
|
Loading…
Reference in New Issue
Block a user