Newsgroups: rec.arts.int-fiction
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!feed2.onemain.com!feed1.onemain.com!uunet!ffx.uu.net!world!buzzard
From: buzzard@world.std.com (Sean T Barrett)
Subject: Re: [Inform] Why doesn't this work?
Message-ID: <G5CqAB.BG2@world.std.com>
Date: Sun, 10 Dec 2000 12:20:35 GMT
References: <MPG.149c9e1c3d4acdde989683@eskinews.eskimo.com>
Organization: The World Public Access UNIX, Brookline, MA
Lines: 20
Xref: news.duke.edu rec.arts.int-fiction:81343

Adam Myrow  <myrow@eskimo.com> wrote:
>     after
>        [;
>	        enter: "You sit down and buckle your seat belt.";
>	        exit: "You unbuckle your seat belt and stand up.";
>        ],
>        has enterable supporter static scenery;

As far as I've figured out, for "exit" it turns out that the 'after' is
called on the room, not the object being exitted.

My solution is to use "react_after"; however, in react_after, you
get called for *anything* being exitted. If there's only one
possible thing you can exit in the room, that may be good enough.

If you want to deal with multiple enterables, or just generally be
more robust, see this thread:
  http://www.deja.com/=dnc/[ST_rn=ps]/viewthread.xp?AN=542828596

SeanB
