Thanks for the explanation. I guess I must have given it script number 28 and then changed my mind and decided to give it a named script instead. I don't recall doing it, but I must have.
Certainly, looking at the TEXTMAP lump directly, I can see that arg0 has indeed been retained.
- Code: Select all • Expand view
linedef // 7176
{
v1 = 5957;
v2 = 5958;
sidefront = 11690;
special = 80;
arg0 = 28;
blocking = true;
dontdraw = true;
playeruse = true;
arg0str = "PortraitSecret";
}
I guess my question, though, is why is arg0 retained? Surely if arg0str has been set, arg0 should actually be removed? Unless I'm missing something obvious, I don't see why it is left there merely to be ignored (except by a search UDB, of course, thereby leading to my confusion)? Surely if arg0str is set, arg0 is just cruft clogging up the text file (albeit by just a fey bytes)?
Additional, question, other than editing the TEXTMAP lump directly, is there a way to see the arg0 value (and change it) in UDB? I've looked at what I thought were all of the logical dialogues, but I couldn't see anything there. I know that I can just remove the special from the line and then re-add it, and that removes the arg0 value, but it was only because of the coincidence of me searching for script 28 that I knew it was there anyway.