Hello again! I am sorry to be so needy!
(LOL) I promise I will try and help you guys out when I figure out TADS 3 enough to understand what's going on!
I have run into yet another snag while trying to work my way through the "Heidi" game in the "Getting Started in TADS 3" guide. Here's the scoop: I am to the part of the game where I am having a conversation with the charcoal burner (Joe Black) and I am trying to make it so Heidi can ask him about the ring as soon as he mentions it in their dialog. I am using the macro "gSetKnown(ring)" to accomlish this, as per Eric Eve. Here is the code in which this macro appears:
++ SpecialTopic 'ask why' ['ask','why']
"<q>Why will your name be mud?</q> you want to know.<.p>
He shakes his head, lets out an enormous sigh, and replies,
<q>I was going to give her the ring tonight -- her engagement ring --
only I've gone and lost it. Cost me two months' wages it did. And
now she'll never speak to me again,</q> he concludes, with another
mournful shake of the head, <q>never.</q><<gSetKnown(ring)>>"
In the guide, Eric says "Now, once Joe has mentioned the ring, Heidi will be able to ask about it and get a sensible response (see below), even is she hasn't found the ring yet. If you recompile and play the game with these changes, you should find it all works properly."
However, it is not working properly for me. Even after the burner mentions the ring I still get the "DefaultAskTellTopic" (Code):
"<q>What do you think about <<gTopicText>>?</q> you ask.<.p>
<q>Ah, yes indeed, <<gTopicText>>,</q> he nods sagely,
<q><<rand('Quite so', 'You never know', 'Or there again, no
Instead of the response I should be getting, (Code):
++ AskTellTopic, StopEventList @ring
'<q>What happened to the ring -- how did you manage to lose it?</q> you
<q>You wouldn\'t believe it.</q> he shakes his head again, <q>I took it
out to take a look at it a couple of hours back, and then dropped the
thing. Before I could pick it up again, blow me if a thieving little
magpie didn\'t flutter down and fly off with it!</q>',
'<q>Where do you think the ring could have gone?</q> you wonder.<.p>
<q>I suppose it\'s fetched up in some nest somewhere,</q> he sighs,
<q>Goodness knows how I\'ll ever get it back again!</q>',
'<q>Would you like me to try to find your ring for you?</q> you
<q>Yes, sure, that would be wonderful.</q> he agrees, without sounding
in the least convinced that you\'ll be able to. '
Does anyone know why this might be happening? The game compiles and runs, I cannot find any typos in my code anywhere, I've been over it and over it. I've tried retyping it several times in different ways, I tried using the full code "gPlayerChar.setKnowsAbout(ring)" instead of the macro, I've tried moving the property outside of the double quotes ""... all to no avail.
Any help would be greatly appreciated!
If you have any questions for me, I should be online all day, and I'll check the forum regularly.
Thank you in advance!