A suggestion:
You could make a unit with 999999999 attack range and 1.00 missile arc.
Then place him somewhere out of your game area( maybe in a maps corner) and when your spell is casted (use triggers) order him to attack a unit you
The [o] is the missile fired from your unit (the panda) and the white line is the sight of the player.