EVN plug-in bay problems

so i'm trying to add a ship bay, into a plug-in i'm making. when i launch the ships out, they come out fine and fly with me, but when i target something and press F, telling them to attack, they say they will attack it, but instead, fly back into the bay.

i also have a ship, with the bay, in my fleet. when i tell him to attack something, he says he'll do it, but stays next to me. only sometimes, he'll launch out ships, but they too, go right back into his bay.

how do i fix these problems?

i had made the outf and weap resources, by copying existing bays and adjusting them, to fit my plug-in, so i'm really confused as to why they are acting like this.

never mind. seems to be working ok now, even though i didn't change anything. :rolleyes: