summaryrefslogtreecommitdiffstats
path: root/Common/Config/Config_Occupation.sqf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Common/Config/Config_Occupation.sqf9
1 files changed, 9 insertions, 0 deletions
diff --git a/Common/Config/Config_Occupation.sqf b/Common/Config/Config_Occupation.sqf
new file mode 100644
index 0000000..d4e18d5
--- /dev/null
+++ b/Common/Config/Config_Occupation.sqf
@@ -0,0 +1,9 @@
+Private ['_occTypeEast','_occTypeWest'];
+
+_occTypeWest = ('WFBE_OCCUPATIONWESTFACTIONS' Call GetNamespace) select ('WFBE_OCCUPATIONWESTFACTION' Call GetNamespace);
+_occTypeEast = ('WFBE_OCCUPATIONEASTFACTIONS' Call GetNamespace) select ('WFBE_OCCUPATIONEASTFACTION' Call GetNamespace);
+
+[] Call Compile preprocessFile Format["Common\Config\Core_Occupation\Occupation_%1.sqf",_occTypeWest];
+[] Call Compile preprocessFile Format["Common\Config\Core_Occupation\Occupation_%1.sqf",_occTypeEast];
+
+diag_log Format["[WFBE (INIT)][frameno:%1 | ticktime:%2] Config_Occupation: Initialization (West: %3 | East: %4) - [Done]",diag_frameno,diag_tickTime,_occTypeWest,_occTypeEast]; \ No newline at end of file