It worked, but it doesn't do damage or such.Projectile.NewProjectile() method allows you to spawn projectile pretty much anywhere where you can access it.
Nevermind, I figured it outIt worked, but it doesn't do damage or such.
Wat did you do because it doesn't work for meNevermind, I figured it out
I put in this codes:Wat did you do because it doesn't work for me
Tnx it works nowI put in this codes:
int a = Projectile.NewProjectile(projectile.position.X, projectile.position.Y, projectile.velocity.X, projectile.velocity.Y, ProjectileID.GreenLaser, (int)((double)projectile.damage * 0.1), projectile.knockBack * 1, projectile.owner, 1, 0);
Re-test it again if its not working, because I put this on 'comment'.
i dont know much about coding, so... where do i put that other code? Also, how do i make it shoot the projectile by using the number ID?