Page 1 of 1
Named script support?
Posted: Thu Mar 14, 2013 3:49 pm
by Lollipop
Hey.
if there is someone around who knows, then id like to know if its only me getting a crash when using named scripts.
If they do not work with ZA, then id like to see them working at some point :)
RE: Named script support?
Posted: Thu Mar 14, 2013 4:52 pm
by Stiff
tried them, dont work.
Probably becouse i use an old acs compiler.
You need atleast ACC v1.51.
EDIT:
Yup downloaded last ACC version and next script(s) worked:
#include "zcommon.acs"
Script "Stiff" (void)
{
Print(s:"Stiff");
}
Script 1 (void)
{
Acs_namedexecute("Stiff",0);
}
You can download latest ACC compiler here (1.53) :
http://www.zdoom.org/files/utils/acc/acc153win.zip
Place those files in .../Doombuilder2/Compilers/Zdoom
Or where ever you placed your Compiler/Doombuilder2 files!
Still have problems PM me and i will help you some more.
RE: Named script support?
Posted: Thu Mar 14, 2013 6:24 pm
by Ijon Tichy
Zandronum does not support named scripts, since it breaks with negative script numbers, which is what named scripts are translated to.