Blockland Forums > Modification Help
Why does this error keep on coming up?
FOX TAIL:
So I was scripting a weapon with a grenade launcher and it gave me this error when it did not work:
(Yes too lazy to upload)
phflack:
i think it might be the datablock ProjectileData(mp7Projectile) line, as it has no {} like the below one, or is lacking a ;
yet i don't know how to use datablocks, just looking at it from the script
also, if you go to line 197, there should be a syntax error in that line somewhere
Chrono:
Huh..?
Why is that projectile completely empty?
Fatcorny:
Both errors, top and bottom, are missing a right curly bracket. Please place one of those at the end of every function. That should help.
Hope this helps!
Fluff-is-back:
--- Quote from: Fatcorny on December 19, 2010, 09:22:22 AM ---Both errors, top and bottom, are missing a right curly bracket. Please place one of those at the end of every function. That should help.
Hope this helps!
--- End quote ---
The console often 'Chops' off the rest of the script on error reports. I assume there is one in the actual script.