Involved in sesquiterpene (C15), diterpene (C20) and monoterpene (C10) biosynthesis. Has sesquiterpene synthase activity, converting farnesyl diphosphate to nerolidol, the precursor of the volatile C11-homoterpene (E)-3,8-dimethyl-1,4,7-nonatriene (DMNT). Has diterpene synthase activity, converting geranylgeranyl diphosphate to (E,E)-geranyllinalool, the precursor of the volatile C16-homoterpene (E,E)-4,8,12-trimethyltrideca 1,3,7,11-tetraene (TMTT). Has monoterpene synthase activity, converting geranyl diphosphate into linalool. Forms only the S-isomers of the three tertiary terpene alcohols. (2E,6E)-farnesyl diphosphate + H2O = (3S,6E)-nerolidol + diphosphate (2E,6E,10E)-geranylgeranyl diphosphate + H2O = (6E,10E)-geranyllinalool + diphosphate (2E)-geranyl diphosphate + H2O = (S)-linalool + diphosphate Binds 3 Mg(2+) ions per subunit. Secondary metabolite biosynthesis; terpenoid biosynthesis. Monomer. By a musk indanone elicitor that mimics herbivory. By caterpillar S.littoralis oral secretions, in combination with wounding (PubMed:27662898). By corn leaf aphid feeding (PubMed:26378100). The Asp-Asp-Xaa-Xaa-Asp/Glu (DDXXD/E) motif is important for the catalytic activity, presumably through binding to Mg(2+). Belongs to the terpene synthase family.