If you use "transit" tactic, the platform will only travel through the allocated waypoints; it won't attack any hostile targets. (Though it will avoid torpedoes etc.)
Use "transit search" for the effect you want; this way the platform will (should) travel along the waypoints, until it detects a target, which it will then attack. All the other tactics (apart from "transit") also have the same effect.
I totally agree with FERdeBOER about the LWAMI mod
Miika