First, when I post on rec.arts.int-fiction, it asks for something called a “Cc”. I don’t know what that is, and won’t let me post without it.
Second,
I’m tryinig to make a cutscene like in The Plant. I’ve done it before quite easily.
However, when I compile this code(some testing code I rigged up for this problem),
it compiles(with the -C option) and runs just fine, but when I go north, it exits HTML TADS, and says in an error message box: “You must specify a numeric value!”. I checked some old code I used before to do the same thing, and I appear to be doing it correctly. Any input?
#include <adv.t>
#include <std.t>
startroom: room
sdesc=“Short desc”
ldesc=“Long desc.”
north=
{
“Setting the notify…”;
notify (aScript, &script, 0);
return(nil);
}
;
aScript: item
script =
{
self.scriptNum++;
switch (self.scriptNum)
{
case 1:
"\bThis boring room is so boring. ";
break;
case 2:
"\bOh god… so boring… ";
break;
case 3:
"\bBoring, Boring, Boring. ";
break;
case 4:
“\bSave me from this epic boring starting room!”;
break;
case 5:
"\bFinally,this lamenting script is finished. ";
unnotify(self, &script);
break;
}
}
;