Alternative: use the code from the Spy drone, which creates the drone right above the target, and then simply chnage it to spawn this bomb/rocket of yours. That way, it will appear over the target, fall down and explode when it hits the ground.
At least, that's what logic and experience tells me - I haven't actually tried it in-game.
|