Re: Inform floating objects--Help!


24 Feb 1995 04:26:39 GMT

Howdy

Jim Newland (76461.2144@CompuServe.COM) wrote:
[ Problem deleted ]
: My questions are:
: 1. Am I doing something wrong here?
We cant see without the code...

: 2. If not, and it is a parser problem, does anyone have an
: alternate solution? I would really prefer not to have to move
: the character back and forth between rooms, if possible.

Object Doorman "doorman"
with name "doorman",
found_in
[;
if (Doormans_Door hasnt open)
rfalse;
if (location == West_Side_Door or West_Side_Door)
rtrue;
rfalse;
],
has animate;

This way use you the found_in property to return either true of false
depending on if the door is open and if the player is in the correct rooms.

--
Be seeing you,

Brendon Wyber Computer Services Centre, b.wyber@csc.canterbury.ac.nz University of Canterbury, New Zealand.

"Ph-nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."