This shouldn't be too hard. You could set variables, or spawn an invisible helper.
This is the code I use to track the enemy's chest approximation.
[State 1350, Chest Finder]
type = VarSet
trigger1 = (Time%1) = 0
v = 12 ;fv = 10
value = floor( (enemy,const(size.head.pos.y) - enemy,const(size.mid.pos.y) )/2 )
[State 1350, Chest Tracker]
type = VarSet
trigger1 = (Time%1) = 0
v = 13 ;fv = 10
;value = floor( const(size.mid.pos.y) + var(12))
value = ifelse(enemynear(0), statetype = L , 10, ifelse(enemynear(0), statetype = C ,floor( enemy,const(size.mid.pos.y)/2), floor( enemy,const(size.mid.pos.y) + var(12))))
[State 1350, GO]
type = VarSet
trigger1 = (Time%1) = 0
v = 10
value = ceil(P2BodyDist Y + var(13) )/20;10
If you're not trying to do all that, Var(10) could be edited so var(13) is just p2 body distance x. But that'll aim at it's "feet"
This is the code to make it go. [State 1350, RELEASEtheHounds]
type = Velset
triggerall = P2Dist X > 0 ;whered it go?
triggerall = time >= 7 ;out of the gun
triggerall=Time<=125 ;fuel supply
trigger1 = (Time%1) = 0
trigger1 = var(10) = [1,-1]
y = 0
[State 150, RELEASEtheHounds]
type = Velset
triggerall = P2Dist X > 0 ;whered it go?
triggerall = time >= 7 ;out of the gun
triggerall=Time<=125 ;fuel supply
triggerall = (Time%1) = 0
trigger1 = var(10) = [-8,-1.1]
trigger2 = var(10) = [1.1,8]
y = var(10)/2 ;exact spot of chest
You can see my missile updates every tic. You can set it to 1 particular tic and it'll work the way you want.
If you want it to have an overall speed, you would use something like
x = (14-vel y).
for the vel x. Otherwise if you're doing like a light, medium, heavy, you could just do x = 3,5,7 or whatever.
This all updates fast. So the only thing you should have to change is setting the vels at the tic you want and it should fire toward the enemy.