Small fix

This commit is contained in:
eraser1 2016-07-19 10:33:40 -05:00
parent 082bcc892f
commit 1eb7e0e8c1
5 changed files with 9 additions and 5 deletions

View File

@ -4,7 +4,7 @@ class CfgPatches
{
units[] = {};
weapons[] = {};
a3_DMS_version = "July 18, 2016";
a3_DMS_version = "July 18, 2016 v2";
requiredVersion = 1.36;
requiredAddons[] = {"exile_client","exile_server_config"};
};

View File

@ -71,7 +71,7 @@ if (_class == "custom") then
_group = createGroup (missionNamespace getVariable [format ["DMS_%1Side",_side],EAST]);
_group setVariable ["DMS_LockLocality",nil];
_group setVariable ["DMS_LockLocality",true]; // Lock locality until all units are spawned
_group setVariable ["DMS_SpawnedGroup",true];
_group setVariable ["DMS_Group_Side", _side];
@ -127,6 +127,8 @@ if (DMS_ai_freezeOnSpawn) then
[_group,true] call DMS_fnc_FreezeToggle;
};
_group setVariable ["DMS_LockLocality",false]; // Unlock locality now that we're done with the group
diag_log format ["DMS_SpawnAIGroup :: Spawned %1 AI at %2.",_count,_pos];

View File

@ -87,7 +87,7 @@ if (_class == "custom") then
private _group = createGroup (missionNamespace getVariable [format ["DMS_%1Side",_side],EAST]);
_group setVariable ["DMS_LockLocality",nil];
_group setVariable ["DMS_LockLocality",true]; // Lock locality until all units are spawned
_group setVariable ["DMS_SpawnedGroup",true];
_group setVariable ["DMS_Group_Side", _side];
@ -143,6 +143,8 @@ if (DMS_ai_freezeOnSpawn) then
[_group,true] call DMS_fnc_FreezeToggle;
};
_group setVariable ["DMS_LockLocality",false]; // Unlock locality now that we're done with the group
diag_log format ["DMS_SpawnAIGroup_MultiPos :: Spawned %1 AI using positions parameter: %2.",_count,_positions];

View File

@ -361,7 +361,7 @@ else
// Soldier killed event handler
_unit addMPEventHandler ["MPKilled",'if (isServer) then {_this call DMS_fnc_OnKilled;};'];
// Remove ramming damage from players. Also remove any damage within 5 seconds of spawning.
// Remove ramming damage from players.
// Will not work if unit is not local (offloaded)
if (DMS_ai_disable_ramming_damage) then
{

View File

@ -1,4 +1,4 @@
![Arma 1.62](https://img.shields.io/badge/Arma-1.62-blue.svg) ![Exile 1.0.0 Potato](https://img.shields.io/badge/Exile-1.0.0%20Potato-C72651.svg) ![DMS Version](https://img.shields.io/badge/DMS%20Version-2016--07--18-blue.svg) ![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg)
![Arma 1.62](https://img.shields.io/badge/Arma-1.62-blue.svg) ![Exile 1.0.0 Potato](https://img.shields.io/badge/Exile-1.0.0%20Potato-C72651.svg) ![DMS Version](https://img.shields.io/badge/DMS%20Version-2016--07--19%20v2-blue.svg) ![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg)
# To the User: