Blockland Forums > Modification Help
Multiple Projectiles for One Weapon?
FrogFreak:
Is it possible to have two or more projectiles for one weapon in the same script? If so, can this also be done with raycasting projectiles?
Treynolds416:
Pretty sure it can, you just need the two datablocks
Ash:
You shouldn't need two datablocks unless the projectiles are different.
If they are different, then you'll need a datablock for each unique projectile.
FrogFreak:
Well, for two different raycast projectiles, would anyone know how to set that up?
Treynolds416:
--- Quote from: Ash on May 28, 2011, 10:40:06 AM ---You shouldn't need two datablocks unless the projectiles are different.
If they are different, then you'll need a datablock for each unique projectile.
--- End quote ---
Thanks, Captain Obvious.
Frog, just make the datablock for one projectile like usual, then make another for the second, and call them whenever you need them in the state system.