Newsgroups: rec.arts.int-fiction
Subject: Re: (TADS2) Newbie Q: Overruling Lookat for non held objects
From: Garth Dighton <gdighton@yahoo.com>
References: <ujts5gec02fv84@corp.supernews.com>
User-Agent: Xnews/5.04.25
X-no-productlinks: yes
Message-ID: <3d3ef838$1_1@news2.newsgroups.com>
Date: 24 Jul 2002 13:55:52 -0500
Lines: 35
X-Authenticated-User: 86138934
X-Comments: This message was posted through Newsfeeds.com
X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support,  spam or any illegal or copyrighted postings.
X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!!
X-Report: Please report illegal or inappropriate use to <abuse@newsfeeds.com> You may also use our online abuse reporting from: http://www.newsfeeds.com/abuseform.htm
X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS)
Organization: Newsfeeds.com http://www.newsfeeds.com 90,000+ UNCENSORED Newsgroups.
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!news-out.newsfeeds.com!l2!news2.newsgroups.com!not-for-mail
Xref: news.duke.edu rec.arts.int-fiction:106562

"Scott Lawrenz" <Removethis1st.lndorien@removethistoo.thesurf.com> wrote
in news:ujts5gec02fv84@corp.supernews.com:

> I have two objects, and ax and a knife.  Both have handles.  The knife
> is being held by an NPC that follows you around.  The Ax is held by
> yourself.
>
> Now, when you type in "Look at handle" the parser looks at how many
> handles are in sight of the player and returns the ubiquitous "Which
> handle do you mean, the knife handle, or the ax handle?"
>
> Is there a way to over-rule the parser so that it will assume you
> refer to the object you're holding unless you specifically refer to
> the other?
>
> Thanks for the help and advice.
>
> Scott
>
>
>

It's called disambig.t by Dan Schmidt, from the IF Archive -- just make
disambigScore a function which gives a higher value to held objects.


--
Garth Dighton
gdighton@yahoo.com



-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
   http://www.newsfeed.com       The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----
