One recent use was to assist attacks by torpedo boats by dazzling gun crews on the ships being attacked. Other uses included detecting enemy ships at greater distances, as signaling devices, and to assist landing parties. Searchlights were also used by battleships and other capital vessels to locate attacking torpedo boats and were installed on many coastal artillery batteries for aiding night combat.