Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Xegethra

Script already has a body. Trouble with ACS

Recommended Posts

I'm not really sure what the problem is, as far as I can tell I have set the script up like I have any up any other. But they won't compile and I get the "Script already has a body" error.

Here is what they look like.
image.png.f8b36026ece1309ff3af8b22de22c008.png

So thank you if anyone can help, I'm a bit lost.

Share this post


Link to post

Are you sure those scripts are not already defined in the 4000+ lines before? Maybe even in some included file?

Share this post


Link to post

That is indeed the case, how embarrassing. I didn't find it before as ctrl+f didn't find anything. The built in search bar I missed did. Oh well, I have changed the numbers now thanks.

Share this post


Link to post

If you're using a reasonably recent version of GZDoom and ACC you can also used named scripts, which makes it way more intuitive to use.

Share this post


Link to post

I can see that being useful thanks. There are....a lot of numbers currently.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×