Hey everyone, how’s it going?
I’m making a game using turret behaviors, and I have a question I’d like your input on. When a turret is able to shoot (“on turret shoot”), I want to set up a system where each shot can create a specific number of bullets. To be clear, I'm not referring to the number of shots, but rather the number of bullets created per shot.
Currently, I’m using a loop to create bullets based on the number of shots the turret has. For example:
On turret shoot
->for 1 to numberOfShots
-->create bullet object
But I’d also like to configure a specific number of bullets per shot. Here are a couple of examples of what I'm aiming for:
Turret A has 2 shots, and each shot creates 1 bullet:
Turret B has 1 shot, and each shot creates 2 bullets:
Let me know if this makes sense, and if you have any ideas on how to implement it!