Author Topic: Syntax error in script  (Read 313 times)

I feel like an idiot for posting for this kind of help, but I'm very bad when it comes to syntax errors.
I get a syntax error for this:

Code: [Select]
datablock ProjectileData(HunterSniperProjectile : MilitarySniperProjectile)
{
   projectileShapeName = "add-ons/Vehicle_Tank/tankbullet.dts"
   directDamage   ##  ##     = 80;
   directDamageType    = $DamageType::HunterSniper;
   radiusDamageType    = $DamageType::HunterSniper;

   brickExplosionRadius = 0.4;
   brickExplosionImpact = true;          //destroy a brick if we hit it directly?
   brickExplosionForce  = 30;
   brickExplosionMaxVolume = 25;          //max volume of bricks that we can destroy
   brickExplosionMaxVolumeFloating = 35;  //max volume of bricks that we can destroy if they aren't connected to the ground

   impactImpulse      = 300;
   verticalImpulse     = 100;
   explosion           = shotgunexplosion;

   muzzleVelocity      = 200;
   velInheritFactor    = 1;

   armingDelay         = 0;
   lifetime            = 70;
   fadeDelay           = 0;
   isBallistic         = true;
   gravityMod = 0.7;
};

## signifies where the console says the syntax error is.

What the HELL am I supposed to fix!?

.cs file is included if necessary.
Thank you.

You missed a ; on the line above.

Yes, the error is generic in this situation, don't feel too bad.

WOW.
I can't believe I overlooked that.
Thanks!