From SRB2 Wiki
Jump to navigation Jump to search

A_ShootBullet is an action that makes the actor fire an Object at the target, playing the actor's AttackSound. When the actor fires the chosen Object, the SeeSound of the fired Object is also played. The actor's RaiseState determines the Object type to shoot. PainChance sets the shooting distance limit – if the target is further away from the actor than this limit, the actor does not shoot.

Object property Use
RaiseState Object type to shoot
SeeSound (Of Object being shot) Played when fired
AttackSound Shooting sound
PainChance Shooting distance limit

  Actions – Projectiles [view]