Merge branch 'eraser_rewrite' of https://github.com/Defent/DMS_Exile into eraser_rewrite

This commit is contained in:
eraser1 2015-08-29 11:11:51 -05:00
commit 40a2729ba9
2 changed files with 5 additions and 4 deletions

View File

@ -2,7 +2,7 @@ class CfgPatches {
class A3_dms {
units[] = {};
weapons[] = {};
a3_DMS_version = 1.0;
a3_DMS_version = 2.0;
requiredVersion = 1.36;
requiredAddons[] = {"exile_client","exile_server_config"};
};
@ -20,4 +20,4 @@ class CfgFunctions {
};
};
};
};
};

View File

@ -267,7 +267,8 @@ _skillArray = missionNamespace getVariable [format["DMS_ai_skill_%1",_difficulty
} count _skillArray;
// Ground unit
_unit addEventHandler ["Killed",{[_this, "soldier"] call DMS_OnKill;}];
//_unit addEventHandler ["Killed",{[_this, "soldier"] call DMS_OnKill;}];
_unit addEventHandler ["Killed",{[_unit, _group, "soldier"] call TargetsKilled;}];
_unit enableAI "TARGET";
_unit enableAI "AUTOTARGET";
@ -275,4 +276,4 @@ _unit enableAI "MOVE";
_unit enableAI "ANIM";
_unit enableAI "FSM";
_unit
_unit