SetLineSpecial
From ZDoom Wiki
void SetLineSpecial (int lineid, int special [, int arg0 [, int arg1 [, int arg2 [, int arg3 [, int arg4]]]]])
Usage
SetLineTexture will change the special on all lines with the line id number specified (assigned by Line_SetIdentification).
Using the ZDoom versions of ACC, you can with specify the new special by name instead of number, and you can leave out the arguments you aren't interested in. In otherwords, it is perfectly acceptable to do something like this:
SetLineSpecial (1, ACS_Execute, 10);
instead of this:
SetLineSpecial (1, 80, 10, 0, 0, 0, 0);
The first version is more readable and less error-prone, so you should always opt for that version of the command instead of using special numbers.
Examples
This example will be triggered by script 1 and will cause all lines with line id 9 to execute script 10.
script 1 (void)
{
print (s:"setting action");
ActivatorSound("misc/chat", 127);
SetLineSpecial (9, ACS_Execute, 10);
}
script 10 (void)
{
ActivatorSound("misc/chat", 127);
}

