Message-ID: <3B4321E0.35F9CD55@ozemail.com.au>
From: maxandco@ozemail.com.au
X-Mailer: Mozilla 4.5 [en]C-CCK-MCD snapN45b1  (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: rec.arts.int-fiction
Subject: Re: Re  [Inform] memory in NPC conversation
References: <ad62bf3.0107031011.338b1685@posting.google.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 77
NNTP-Posting-Host: slmel75p49.ozemail.com.au
X-Trace: ozemail.com.au 994255445 203.108.127.177 (Thu, 05 Jul 2001 00:04:05 EST)
NNTP-Posting-Date: Thu, 05 Jul 2001 00:04:05 EST
Organization: OzEmail Ltd, Australia
Distribution: world
Date: Thu, 05 Jul 2001 00:02:08 +1000
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!feeder.qis.net!feed2.news.rcn.net!rcn!newsfeed.cwix.com!news1.optus.net.au!optus!yorrell.saard.net!duster.adelaide.on.net!newsfeed.ozemail.com.au!ozemail.com.au!not-for-mail
Xref: news.duke.edu rec.arts.int-fiction:89499

Hi Jim,

I've been reading your pages during the past couple of weeks and they've been very
interesting. I've downloaded the source code from the page you mentioned and I'll try
tinkering with that to see if I understand it properly (I find that I am usually starting
to understand someone elses code if I can alter it slightly and it will still compile
afterwards).

I've read some of your articles several times without rating them yet. I will get around
to that after I try some of the approaches you suggest. The scripting stuff isn't exactly
the conversational effect I'm going for at the moment but I will get around to trying it
out.

Thank you,
-Michael

Jim Fisher wrote:

> The three-part article on NPC "Conversation and Learning" found at
>
>    http://www.onyxring.com/informguide.asp?article=20
>
> may be of some use to you.  The examples in the third section
>
>    http://www.onyxring.com/informguide.asp?article=22
>
> demonstrate what you are describing to a limited degree (by skipping
> over topics already asked about) with conversation scripts.  A counter
> could be added to do exactly what you propose with minimal effort.
>
> There's also a set of working examples that you could pull code from
> and reuse if you chose.
>
> Hope this helps.
>
> -Jim
> Jim@OnyxRing.com
> www.OnyxRing.com
>
> <maxandco@ozemail.com.au> wrote in message news:<3B41C746.2C989BC0@ozemail.com.au>...
> > Hi,
> >
> > I am working on an NPC in Inform but I need help getting the NPC to stop
> > repeating itself when certain questions are asked. I want to at least
> > give the impression that the NPC remembers what has already been asked.
> > I feel like this could be done using a flag or counter but I don't know
> > the syntax of Inform well enough to insert this into the ASK routine of
> > the NPC. Any suggestions?
> >
> > I've tried looking at the way questions are handled in the source of
> > Christminster but I'm not really able to follow how this works. I have
> > read several long threads about NPC conversation in groups.google.com
> > but I can't seem to find a working example that would help me out.
> >
> > I'm thinking of something along the following lines:
> >
> > eg.
> > >ASK SUE ABOUT CAR
> > "Isn't it great? I bought it yesterday."
> >
> > >ASK SUE ABOUT CAR
> > "Like I said, I bought it yesterday."
> >
> > >ASK SUE ABOUT CAR
> > Sue looks at you intently, uncertain as to whether you are mental or
> > just trying to piss her off.
> >
> > >ASK SUE ABOUT CAR
> > No reply.
> >
> > Thanks,
> >
> > Michael.
> >
> >
> >

