Why even use an event handler, stick a trigger with "!alive officer1" in condition and:
tskofficer1 setTaskState "SUCCEEDED"; nul = [objNull, ObjNull, tskofficer1, "SUCCEEDED"] execVM "CA\Modules\MP\data\scriptCommands\taskHint.sqf";
in the onactivation field.