Page 1 of 1
ACS_NamedExecute()
Posted: Wed May 28, 2014 8:01 pm
by Galaxy_Stranger
Can ACS_NamedExecute be called from within a decorate actor via Thing_SetSpecial? ACS_Execute works.
I'm really asking for Zandronum 2.x.
RE: ACS_NamedExecute()
Posted: Wed May 28, 2014 8:06 pm
by TheMightyHeracross
This is a a ZDoom 2.6.0 feature IIRC. Don't expect it for a very long time.
RE: ACS_NamedExecute()
Posted: Wed May 28, 2014 8:17 pm
by Galaxy_Stranger
Oh, it's not even in GZDoom yet?
RE: ACS_NamedExecute()
Posted: Wed May 28, 2014 8:21 pm
by Klofkac
It is in both ZDoom and GZDoom. Not in Zandronum.
RE: ACS_NamedExecute()
Posted: Thu May 29, 2014 9:47 pm
by TheMightyHeracross
GZDoom is always up to date with ZDoom. Graf Zhal himself is a codeveloper of ZDoom as well, which probably helps.
RE: ACS_NamedExecute()
Posted: Thu May 29, 2014 10:42 pm
by Galaxy_Stranger
Is there any plan to add this to Zandronum 2.x?
RE: ACS_NamedExecute()
Posted: Sat May 31, 2014 7:50 am
by Vincent(PDP)
Galaxy_Stranger wrote:
Is there any plan to add this to Zandronum 2.x?
Maybe... I think Zandronum 2.0 backported ZDoom 2.5.0. And it seems like named scripts were added in ZDoom 2.6.0.
But correct me if I'm wrong. :#
RE: ACS_NamedExecute()
Posted: Sat May 31, 2014 1:22 pm
by Lollipop
Well, to work around this you could use a numbered script that got a executes to the named script, so it works as a database. You just pass a value for the first script parameter with your acs_execute. (I am far from being a pro at ACS, though I do believe this should work)
Spoiler: code (Open)script 1 (SOMETHING) {
if(SOMETHING==1){
acs_namedexecute(parameters here)
}
if(SOMETHING==2){
acs_namedexecute(other parameters here)
}
if(SOMETHING==1){
acs_namedexecute(you got the idea by now)
}}
Do not hang me up on it though
RE: ACS_NamedExecute()
Posted: Sat May 31, 2014 1:30 pm
by TheMightyHeracross
That will not work- the entire point is that there are no named scripts yet. That includes from another script.
RE: ACS_NamedExecute()
Posted: Sat May 31, 2014 1:51 pm
by Lollipop
Named scripts worked last time I tested it? I am pretty sure they work, or maybe I tried in zdoom without noticing it

RE: ACS_NamedExecute()
Posted: Sat May 31, 2014 4:03 pm
by Galaxy_Stranger
They work on the 2.0 del builds.
I just don't want to structure all my scripts that way if I don't have to.
RE: ACS_NamedExecute()
Posted: Sat May 31, 2014 4:07 pm
by Torr Samaho
Galaxy_Stranger wrote:
Is there any plan to add this to Zandronum 2.x?
Right now, upgrading to ZDoom 2.6.0 is not planned for Zandronum 2.0.