mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
Fixed event handler
This commit is contained in:
parent
ef822c5a28
commit
2998a01720
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user