Unfortunately, this is very very difficult. In case anyone is interested in the technical reasons why, here it is (feel free to just skip this next part):
There is not scripting command that can easily do a search for missiles in flight. There are only three commands that can ever return a missile object:
- find nearest missile aiming at me
- get player targeting aim
- get object from sector object
In the first case, it only does what it says - gives the nearest missile that is targeting you. The second one gives you whatever object your ship is targeting - it will return a missile only if you're targeting a missile. Hardly useful. The third one is a possibility...
A Sector Object is simply an integer that represents an object that is actually modelled - an object in the sector the player is in. When you first load a game, this starts at 1 for the first object rendered in the sector you are in and increments by one for every object rendered thereafter. It doesn't reset when you go to a new sector either, just keeps incrementing.
Theoretically it's possible to have a scripting process sitting and monitoring all the new sector objects that get created. Every time it sees one that is a missile, add it to an array of missiles that it tracks. Every so often it will check the array and remove the missiles that don't exist any more.
Then, any script that wanted to take advantage of this information would simply grab the global variable with the missiles in it, and then use that information any way it wanted.
I say this is theoretically possible, but it might not be feasable. There is no way to get a list of sector objects. So, the script would have to sort of intelligently guess. Look at an object in the sector, get it's sector object number, then scan up from there trying to figure out where the current "end" of the list is.
This will be a complicated thing and I'm not sure I want to bother.

The Return will have better scripting commands that will give lists of missiles. I can guarantee it - even if I have to beat up the developers to get it.

You were warned... pirates will be hunted down like vermin.
Ex Turbo Modestum