Error parsing strings

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
shino1
Posts: 61
Joined: Mon Dec 17, 2018 1:18 am

Error parsing strings

Post by shino1 »

I'm trying to spruce up Mario Doom from a visual replacement to a full gameplay mod.
Trying to add a tracer to Super Shotgun replacement, FirePiranha breaks stuff:
Spoiler:
I have no idea why would GZDoom expect a comma for the string name. From what I understand, what is supposed to go here is just name of the missile actor spawned for the tracer. I used that with no problems at all for the Shotgun replacement and it works great.

Trying to figure out this stuff, I decided to do what it asks me to, and put in "," for the string name, silly as it sounds.
It parses this line just fine, but then:
I'm getting an even more bizarre error:
Spoiler:
Line 73 is... inside of a comment. Here's my full Decorate file:
Spoiler:
I don't understand why GZdoom is even parsing strings inside comment tags. That hints to me something is seriously screwed up, or more likely, I screwed up something really bad.
Jarewill
 
 
Posts: 1855
Joined: Sun Jul 21, 2019 8:54 am

Re: Error parsing strings

Post by Jarewill »

You forgot to close the string after "BulletPuff, which makes the following lines be treated as a string until the next closing quote, which is why GZDoom threw an error regarding ShotgunSeed.
Post Reply

Return to “Scripting”