Hello,
First time using zscript. I can't use functions (like A_Chase) together with If, because the following error occurs
"Unexpected integer constant
Expecting ';'"
geometry dash lite
How can I fix it?
Need help with zscript!
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!)
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!)
-
- Posts: 2
- Joined: Thu Jan 23, 2025 12:36 am
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Legacy GZDoom)
Need help with zscript!
Last edited by sophiarobin on Wed Feb 05, 2025 9:06 pm, edited 1 time in total.
-
- Posts: 822
- Joined: Thu Apr 25, 2013 12:21 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11 for the Motorola Powerstack II
- Graphics Processor: nVidia with Vulkan support
- Location: The Corn Fields
Re: Need help with zscript!
Show us the entire code.
-
-
- Posts: 26697
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: Need help with zscript!
I haven't posted this image for a long time but...
People on the forum trying to figure out your problem.

Seriously, sophiarobin, what you provided really gives almost no information. As SanyaWaffles said, we really need to see what you are actually trying to do before we can see, understand and possibly provide a solution to the problem.
Just copy and paste the entirety of your ZScript code into a post and people will have a chance to sort out the problem.
It's better if you post your code between CODE tags to keep formatting but they might not work until you have a few more posts.
People on the forum trying to figure out your problem.


Seriously, sophiarobin, what you provided really gives almost no information. As SanyaWaffles said, we really need to see what you are actually trying to do before we can see, understand and possibly provide a solution to the problem.
Just copy and paste the entirety of your ZScript code into a post and people will have a chance to sort out the problem.
It's better if you post your code between CODE tags to keep formatting but they might not work until you have a few more posts.
-
- Posts: 2
- Joined: Thu Jan 23, 2025 12:36 am
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Legacy GZDoom)
Re: Need help with zscript!
Okie. Anyway, thanks for your answer.