Page 1 of 1

[ACS] Unable to change line special

Posted: Tue Jan 08, 2019 4:00 am
by Wivicer
I'm trying to make it so that when a line is activated in a certain manner, it runs a script that then changes the parameters that are passed to said script. The script is named, and using SetLineSpecial with the line's id, ACS_ExecuteAlways and then the script name and arguments doesn't seem to be working. Am I trying to do something impossible, or am I doing something wrong?

Re: [ACS] Unable to change line special

Posted: Tue Jan 08, 2019 4:54 am
by Graf Zahl
SetLineSpecial cannot do this. The name gets converted to a string index which then gets interpreted as a script number - which most likely does not exist.

Re: [ACS] Unable to change line special

Posted: Tue Jan 08, 2019 5:06 pm
by Wivicer
Ok cool. I'll just change it from a named script to a numbered script then.
Thanks!