OK, it seems to be working now (at least in FRED). I do have a suggestion however. Is it possible to get even more specific in target priorities? What I mean is, could this or another sexp be created so that specific ships or ship classes could be included as options. For example, a Destroyer is engaged in a multi-cap-ship engagement. Its heaviest anti-cap beams would be targetted at the largest target, like a corvette, while the lighter ones would be targetting cruisers. If the corvette goes down, then the priority order would have the big weapons switch to targetting cruisers, or if the cruisers go down first, they lighter weapons would assist in targetting the corvette. I could see strings being used for specific ship names, if that's possible to code.