Fix for Occupy Boats..

This commit is contained in:
kuplion 2017-05-08 01:43:57 +01:00 committed by GitHub
parent e7f79584bf
commit c75a54fb46
6 changed files with 15 additions and 9 deletions

View File

@ -1,6 +1,6 @@
# Exile Occupation (a3_exile_occupation) # 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? WTF is Occupation?
An AI spawner and monitor to be used in conjunction with DMS and will not work without it: An AI spawner and monitor to be used in conjunction with DMS and will not work without it:

View File

@ -1,6 +1,6 @@
# Exile Occupation (a3_exile_occupation) # 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? WTF is Occupation?
An AI spawner and monitor to be used in conjunction with DMS and will not work without it: An AI spawner and monitor to be used in conjunction with DMS and will not work without it:

View File

@ -1,18 +1,22 @@
class CfgPatches class CfgPatches
{ {
class a3_exile_occupation { class a3_exile_occupation
{
units[] = {}; units[] = {};
weapons[] = {}; weapons[] = {};
requiredVersion = 0.1; requiredVersion = 0.1;
a3_exile_occupation_version = "V66 (23-03-2017)"; a3_exile_occupation_version = "V67 (08-05-2017)";
requiredAddons[] = {"a3_dms"}; requiredAddons[] = {"a3_dms"};
author[]= {"second_coming - modified by [FPS]kuplion"}; author[]= {"second_coming - updated/modified by [FPS]kuplion"};
}; };
}; };
class CfgFunctions { class CfgFunctions
class yorkshire { {
class main { class yorkshire
{
class main
{
class YORKS_init class YORKS_init
{ {
postInit = 1; postInit = 1;

View File

@ -27,6 +27,8 @@ if(_aiActive > _maxAIcount) exitWith
[_logDetail] call SC_fnc_log; [_logDetail] call SC_fnc_log;
}; };
SC_liveBoats = count(SC_liveBoatsArray);
if(SC_liveBoats >= SC_maxNumberofBoats) exitWith if(SC_liveBoats >= SC_maxNumberofBoats) exitWith
{ {
if(SC_extendedLogging) then if(SC_extendedLogging) then