You've been provided the necessary UDFs to create the appropriate script. You can always post your finished script and ask specific questions.
_________________________
There are two types of vessels, submarines and targets.