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

Named script

Recommended Posts

Hi, can anyone expalin me how to use named scripts?
In code editor I have:
script "test" (void)

And I have a 80 switch with checked "named script" with "test" script name. But when I start map - there is error: "Error: Script number 65535 exceeds 999!"
If I set numeric sript ID to swith - there is no error.
What I'm doing wrong?

Share this post

Link to post

You can try using numbers instead of Script names, such as:

#include "zcommon.acs"

Script 1 (Void)


If there are still issues afterwards make sure the Flag "When player presses use" is flagged with Script Execute (80).

I'm guessing you're using either DoomBuilder 2 or GZDoomBuilder?

Alternatively I'm fairly positive you can simply go to Line Mode, select the Line that's supposed to be the switch and just select End Normal (243). That's on GZDoomBuilder.

Share this post

Link to post

>You can try using numbers instead of Script names
Yes, I know it. But it is epic fail to use numbers instead of string names

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