First module appearing in 3den (not zeus yet). Created custom PREP macros for compiling functions similar to CBA/ACE.
This commit is contained in:
1 parent
2a7c28af5f
commit
c5755fb259
42 files changed
+1805
-7
No files matched your search
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,13 @@
|
||||
params [
|
||||
["_logic", objNull, [objNull]], // Argument 0 is module logic
|
||||
["_units", [], [[]]], // Argument 1 is a list of affected units (affected by value selected in the 'class Units' argument))
|
||||
["_activated", true, [true]] // True when the module was activated, false when it is deactivated (i.e., synced triggers are no longer active)
|
||||
];
|
||||
|
||||
if (!_activated) exitWith {};
|
||||
|
||||
private _side = _logic getVariable ["Side", -1];
|
||||
|
||||
{
|
||||
[_x, _side] remoteExec [QFUNC(initHQ), 2];
|
||||
} forEach synchronizedObjects _logic;
|
||||
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Reference in new issue
Block a user