diff --git a/README.md b/README.md index 9c1d094..378f24b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Exile Occupation (a3_exile_occupation) -![v66 New Features](https://img.shields.io/badge/v66-New%20Features-red.svg) ![Arma 1.68](https://img.shields.io/badge/Arma-1.68-blue.svg) ![Exile 1.0.2 Sweet Potato](https://img.shields.io/badge/Exile-1.0.2%20Sweet%20Potato-C72651.svg) +![v67 New Features](https://img.shields.io/badge/v67-New%20Features-red.svg) ![Arma 1.68](https://img.shields.io/badge/Arma-1.68-blue.svg) ![Exile 1.0.2 Sweet Potato](https://img.shields.io/badge/Exile-1.0.2%20Sweet%20Potato-C72651.svg) WTF is Occupation? An AI spawner and monitor to be used in conjunction with DMS and will not work without it: diff --git a/pre-packaged pbo/a3_exile_occupation.pbo b/pre-packaged pbo/a3_exile_occupation.pbo index cb1a062..3a3a662 100644 Binary files a/pre-packaged pbo/a3_exile_occupation.pbo and b/pre-packaged pbo/a3_exile_occupation.pbo differ diff --git a/source/a3_exile_occupation/README.md b/source/a3_exile_occupation/README.md index 517455c..378f24b 100644 --- a/source/a3_exile_occupation/README.md +++ b/source/a3_exile_occupation/README.md @@ -1,6 +1,6 @@ # Exile Occupation (a3_exile_occupation) -![v65a Bug Fix](https://img.shields.io/badge/v65a-Bug%20Fix-red.svg) ![Arma 1.66](https://img.shields.io/badge/Arma-1.66-blue.svg) ![Exile 1.0.2 Sweet Potato](https://img.shields.io/badge/Exile-1.0.2%20Sweet%20Potato-C72651.svg) +![v67 New Features](https://img.shields.io/badge/v67-New%20Features-red.svg) ![Arma 1.68](https://img.shields.io/badge/Arma-1.68-blue.svg) ![Exile 1.0.2 Sweet Potato](https://img.shields.io/badge/Exile-1.0.2%20Sweet%20Potato-C72651.svg) WTF is Occupation? An AI spawner and monitor to be used in conjunction with DMS and will not work without it: diff --git a/source/a3_exile_occupation/config.cpp b/source/a3_exile_occupation/config.cpp index 65c5cf9..2e873da 100644 --- a/source/a3_exile_occupation/config.cpp +++ b/source/a3_exile_occupation/config.cpp @@ -1,18 +1,22 @@ class CfgPatches { - class a3_exile_occupation { + class a3_exile_occupation + { units[] = {}; weapons[] = {}; requiredVersion = 0.1; - a3_exile_occupation_version = "V66 (23-03-2017)"; + a3_exile_occupation_version = "V67 (08-05-2017)"; requiredAddons[] = {"a3_dms"}; - author[]= {"second_coming - modified by [FPS]kuplion"}; + author[]= {"second_coming - updated/modified by [FPS]kuplion"}; }; }; -class CfgFunctions { - class yorkshire { - class main { +class CfgFunctions +{ + class yorkshire + { + class main + { class YORKS_init { postInit = 1; diff --git a/source/a3_exile_occupation/scripts/occupationLog.sqf b/source/a3_exile_occupation/scripts/occupationLog.sqf index 3d22424..4d245cb 100644 --- a/source/a3_exile_occupation/scripts/occupationLog.sqf +++ b/source/a3_exile_occupation/scripts/occupationLog.sqf @@ -12,4 +12,4 @@ if(SC_infiSTAR_log && !(isNil "INFISTARVERSION")) then else { diag_log _logDetail; -}; +}; \ No newline at end of file diff --git a/source/a3_exile_occupation/scripts/occupationSea.sqf b/source/a3_exile_occupation/scripts/occupationSea.sqf index 46b7ed3..50bfebd 100644 --- a/source/a3_exile_occupation/scripts/occupationSea.sqf +++ b/source/a3_exile_occupation/scripts/occupationSea.sqf @@ -27,6 +27,8 @@ if(_aiActive > _maxAIcount) exitWith [_logDetail] call SC_fnc_log; }; +SC_liveBoats = count(SC_liveBoatsArray); + if(SC_liveBoats >= SC_maxNumberofBoats) exitWith { if(SC_extendedLogging) then