Trigger(COMBAT_RESULTS_TRIGGER, 'CombatResult');
function CombatResult(id)
...
endYou can check if the required units have been killed by giving them names and calling the function IsObjectExists(object_name).
You can check the status of a quest using the functions GetObjectiveState() and GetObjectiveProgress().