Issue with zscript code unexpected integer constant

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.

Issue with zscript code unexpected integer constant

Postby wqogut » Sat Oct 02, 2021 11:09 pm

Hi! I am a beginner to programming and I have been trying to find out how to fix this issue with my code.
For some reason, I have been coming across this issue, it might be from an oversight on my part but I have looked it up and didn't really find anything that helped me

The Code
Spoiler:

The Error
Spoiler:


Any help would be great.
wqogut
 
Joined: 02 Feb 2019
Discord: wqogut#5763

Re: Issue with zscript code unexpected integer constant

Postby Blue Shadow » Sun Oct 03, 2021 12:00 am

Just like how DeathSound there, the other actor properties need to be terminated by a ';' (semi-colon), too.
User avatar
Blue Shadow
 
Joined: 14 Nov 2010
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Issue with zscript code unexpected integer constant

Postby wqogut » Sun Oct 03, 2021 2:35 pm

Blue Shadow wrote:Just like how DeathSound there, the other actor properties need to be terminated by a ';' (semi-colon), too.


oh my god thank you, I didn't realize my brain could go that soft.
wqogut
 
Joined: 02 Feb 2019
Discord: wqogut#5763


Return to Scripting

Who is online

Users browsing this forum: No registered users and 1 guest