How do I make a triple shot weapon?

I’m pretty sure this is pretty complex, how do I make a triple shot weapon?

1 Like
triggers: when a unit uses an item
if (item type of (triggering item)) == (Triple Shot Weapon)
    then do:
        create (Projectile) for (triggering unit) and apply 22 force at ((facing angle of (triggering unit)) - 0.5) degrees
        create (Projectile) for (triggering unit) and apply 22 force at (facing angle of (triggering unit)) degrees
        create (Projectile) for (triggering unit) and apply 22 force at ((facing angle of (triggering unit)) + 0.5) degrees
    else do:

Basically, creates one projectile that faces slightly to the left of the unit, one that faces straight forward, and one that faces slightly to the right.

1 Like

Okay, I know how to make a damage script for them.

1 Like

Im gonna necropost here and say that maybe you can add a function for the bullets to do damage