First module now working via 3den placement syncing. Visible in Zeus, but not functional.
This commit is contained in:
1 parent
c5755fb259
commit
00eee092c3
34 files changed
+154
-45
No files matched your search
+1
@@ -1,3 +1,4 @@
|
||||
#include "..\script_component.hpp"
|
||||
/*
|
||||
Author: Clarky
|
||||
Usage:
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
#include "..\script_component.hpp"
|
||||
/*
|
||||
Author: Clarky
|
||||
Usage:
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
#include "..\script_component.hpp"
|
||||
/*
|
||||
Author: Clarky
|
||||
Usage:
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
#include "..\script_component.hpp"
|
||||
/*
|
||||
Author: Clarky
|
||||
Usage:
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
#include "..\..\script_component.hpp"
|
||||
/*
|
||||
* Author: Clarky
|
||||
* Description:
|
||||
+15
@@ -1,3 +1,18 @@
|
||||
#include "..\..\script_component.hpp"
|
||||
/*
|
||||
* Author: Clarky
|
||||
* Description:
|
||||
* Describe the function
|
||||
*
|
||||
* Arguments:
|
||||
* 0: Linked HQ <OBJECT>
|
||||
* 1: Engineering Bay <OBJECT>
|
||||
*
|
||||
* Usage:
|
||||
* [_object, _integer] call CLF_fnc_template
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* Author: Clarky
|
||||
* Usage:
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
#include "..\..\script_component.hpp"
|
||||
/*
|
||||
* Author: Clarky
|
||||
* Description:
|
||||
File renamed without changes.
+1
@@ -1,3 +1,4 @@
|
||||
#include "..\..\script_component.hpp"
|
||||
/*
|
||||
* Author: Clarky
|
||||
* Description:
|
||||
File renamed without changes.
+12
-11
@@ -1,3 +1,4 @@
|
||||
#include "..\..\script_component.hpp"
|
||||
/*
|
||||
* Author: Clarky
|
||||
* Description:
|
||||
@@ -37,35 +38,35 @@ _hq setVariable [
|
||||
true
|
||||
];*/
|
||||
|
||||
private _name = ""
|
||||
private _name = "";
|
||||
|
||||
switch (_side)
|
||||
switch (_side) do
|
||||
{
|
||||
case west:
|
||||
case 1:
|
||||
{
|
||||
_name = GVAR(baseNames) select GVAR(bluforBaseIndex);
|
||||
_hq setVariable ["baseName", _name, true];
|
||||
INC(GVAR(bluforBaseIndex));
|
||||
}
|
||||
case east:
|
||||
};
|
||||
case 2:
|
||||
{
|
||||
_name = GVAR(baseNames) select GVAR(opforBaseIndex);
|
||||
_hq setVariable ["baseName", _name, true];
|
||||
INC(GVAR(opforBaseIndex));
|
||||
}
|
||||
case independent:
|
||||
};
|
||||
case 3:
|
||||
{
|
||||
_name = GVAR(baseNames) select GVAR(independentBaseIndex);
|
||||
_hq setVariable ["baseName", _name, true];
|
||||
INC(GVAR(independentBaseIndex));
|
||||
}
|
||||
case civilian:
|
||||
};
|
||||
case 4:
|
||||
{
|
||||
_name = GVAR(baseNames) select GVAR(civilianBaseIndex);
|
||||
_hq setVariable ["baseName", _name, true];
|
||||
INC(GVAR(civilianBaseIndex));
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
private _baseMarker = createMarker [format ["%1 [HQ]", _name], _hq];
|
||||
_baseMarker setMarkerShape "ICON";
|
||||
File renamed without changes.
+1
@@ -1,3 +1,4 @@
|
||||
#include "..\..\script_component.hpp"
|
||||
/*
|
||||
* Author: Clarky
|
||||
* Description:
|
||||
File renamed without changes.
+1
@@ -1,3 +1,4 @@
|
||||
#include "..\..\script_component.hpp"
|
||||
/*
|
||||
* Author: Clarky
|
||||
* Description:
|
||||
File renamed without changes.
+1
@@ -1,3 +1,4 @@
|
||||
#include "..\..\script_component.hpp"
|
||||
/*
|
||||
* Author: Clarky
|
||||
* Description:
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+17
@@ -1,3 +1,5 @@
|
||||
#include "..\..\script_component.hpp"
|
||||
|
||||
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))
|
||||
@@ -11,3 +13,18 @@ private _side = _logic getVariable ["Side", -1];
|
||||
{
|
||||
[_x, _side] remoteExec [QFUNC(initHQ), 2];
|
||||
} forEach synchronizedObjects _logic;
|
||||
|
||||
diag_log format [
|
||||
"Synced objects: %1",
|
||||
synchronizedObjects _logic
|
||||
];
|
||||
|
||||
diag_log format [
|
||||
"Synced units: %1",
|
||||
_units
|
||||
];
|
||||
|
||||
diag_log format [
|
||||
"Attached objects: %1",
|
||||
attachedObjects _logic
|
||||
];
|
||||
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user