as soon as the warriors were within a hundred yards of alexs men , the militiamen stopped , fanned out , knelt down on one knee , cocked their musket flintlocks , and almost simultaneously fired a volley toward the attacking warriors .