diff --git a/@epochhive/addons/custom_server/Compiles/Missions/GMS_fnc_missionAIareDead.sqf b/@epochhive/addons/custom_server/Compiles/Missions/GMS_fnc_missionAIareDead.sqf new file mode 100644 index 0000000..40a311e --- /dev/null +++ b/@epochhive/addons/custom_server/Compiles/Missions/GMS_fnc_missionAIareDead.sqf @@ -0,0 +1,19 @@ +// removes mines in a region centered around a specific position. +/* + [_missionAIGroups] call blck_fnc_missionAIareDead; // _missionAIGroups is an array of groups. + for DBD Clan + By Ghostrider-DBD- + Copyright 2016 + Last Modified 3-13-17 +*/ +params ["_missionAIGroups"]; +private["_allAIDead","_group"]; +_allAIDead = true; + +{ + _group = _x; // done for coding clarity only - actually less efficient this way + if ( {alive _x) count (units _group) > 0 ) exitWith {_allAIDead = false}; +} forEach _missionAIGroups; + +_allAIDead; + diff --git a/@epochhive/addons/custom_server/Compiles/blck_defines.hpp b/@epochhive/addons/custom_server/Compiles/blck_defines.hpp index a8fe783..f9e6d02 100644 --- a/@epochhive/addons/custom_server/Compiles/blck_defines.hpp +++ b/@epochhive/addons/custom_server/Compiles/blck_defines.hpp @@ -13,5 +13,5 @@ */ #define modUsed true -#define DBDserver 1 +//#define DBDserver 1 #define wpModeMove diff --git a/@epochhive/addons/custom_server/changeLog.sqf b/@epochhive/addons/custom_server/changeLog.sqf index f5fd352..6b9289b 100644 --- a/@epochhive/addons/custom_server/changeLog.sqf +++ b/@epochhive/addons/custom_server/changeLog.sqf @@ -4,6 +4,10 @@ Loosely based on the AI mission system by blckeagls ver 2.0.2 Contributions by Narines: bug fixes, testing, infinite ammo fix. Ideas or code from that by Vampire and KiloSwiss have been used for certain functions. +3/15/17 Version 6.58 Build 42 +Disabled DBDServer settings for this public release. +Added a missing file (custom_server\Compiles\Missions\GMS_fnc_missionAIareDead.sqf ) + 3/13/17 Version 6.58 Build 41 Changed the method of tracking live AI from an array of units to an array of groups which will aid in monitoring groups for a 'stuck' state. Added Search and Destroy waypoints for each location in the waypoint cycle. diff --git a/@epochhive/addons/custom_server/init/build.sqf b/@epochhive/addons/custom_server/init/build.sqf index f76ad04..55bb258 100644 --- a/@epochhive/addons/custom_server/init/build.sqf +++ b/@epochhive/addons/custom_server/init/build.sqf @@ -13,5 +13,5 @@ */ #include "\q\addons\custom_server\Compiles\blck_defines.hpp"; private ["_version","_versionDate"]; -_blck_version = "6.58 Build 41"; -_blck_versionDate = "3-13-17 8:00 PM"; +_blck_version = "6.58 Build 42"; +_blck_versionDate = "3-15-17 8:00 AM";