if you mean shot by another sprite's "spawn object" action, then as long as you put the angle change in the same event as the "spawn object", it will only apply to that one
if there is a different situation, where you need the angle to change after this event, there would be a different solution, but we'd need extra details to find it
also, btw, unless you mean Python script, just call it "events"
or people may be confused as to whether or not you mean python script or events
and welcome to scirra.