Not quite as simple as it sounds unfortunately. What I'm looking to create is a secondary weapon that once fired, will continuously fire until another (specific) secondary weapon is fired, i.e - as an order to fire, rather than specifically firing the weapon. So you would "fire" the Activate Defences weapon, then later "fire" the Deactivate Defences weapon.
The idea being that the player can specify a secondary weapon to continuously fire, allowing them to switch to other secondary weapons, or just concentrate on flying and firing primary weapons.
Specifically I'm trying to create a ship that will produce a sort of vortex effect around itself, continuously damaging an area around it, while it fires ordinary primary and secondary weapons at the same time.
Is such a thing possible? A point defence weapon isn't quite as well suited as it doesn't properly calculate the range, and if I change the effect then it fires in bursts as suitable targets come into range, which isn't desperately helpful as it means any time there isn't an incoming missile or nearby fighter then the effect ceases.