Try this, put it in init.sqf in mission directory

  if (isServer) then { FNH_civilians_killed = 0; addMissionEventHandler ["EntityKilled", { _killed = _this select 0; if (side group _killed == civilian) then { FNH_civilians_killed = FNH_civilians_killed + 1; if (FNH_civilians_killed > 5) then { failMission "LOSER"; //or any other ending }; }; }]; };
    • Like
    5