I don't understand why unedited parts of a functional script are causing errors

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

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
Grunk
Posts: 6
Joined: Sat Aug 10, 2024 12:12 am
Preferred Pronouns: She/Her

I don't understand why unedited parts of a functional script are causing errors

Post by Grunk »

I decided to try making script edits to the Realm667 Afrit to learn the rollsprite functions. I only changed four lines of code but now I'm getting errors for the lines I haven't touched.

Original zscript:
https://www.realm667.com/repository/bea ... it#preview
https://pastebin.com/rMQcpZmu

My edited script:
https://pastebin.com/C2TQQ3Fc

Error log:
https://imgur.com/a/7Pr1TDk
User avatar
Player701
 
 
Posts: 1707
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support
Contact:

Re: I don't understand why unedited parts of a functional script are causing errors

Post by Player701 »

Your edited script runs fine for me in GZDoom 4.14. Could you please upload the entire WAD/PK3 file for further investigation?
Post Reply

Return to “Scripting”