what rekjl said its true but then most of the bullets spawned wold have the same amount of angle so wold overlap, you could spawn 3 bullets and give for each spawned bullet an angle for example action for bullet 1 lets say its middle create actorbullet. set angle to player angle, then the left wold be like this create actorbullet. set angle to playerangle-45 and then for right same as left but instead of minus set to + and there you go a shotgun spread bullet in 3 directions without the bullets overlapping in same angle ever.
also for each bullet you can set a everytick or under each angle change another action telling to change the direction of movement towards the current angle they are facing. that wold be something like everytick or under the creation of each actorbullet line .... actorbullet>bullet>angleofmotion set : to self.angle
and if u want the bullets not to go to far, just make a condition check for distance traveled and say smth similar to this actorbullet>traveled >200 px action>destroy...
actorbullet>oncollision with walls
actorbullet>oncollision with enemy
here is a simple capx filedownload the link doesn't work anymore.. seems the files got deleted from filedropper servers.. il try re-upload them somewhere else if necessarily