Nearby dog "dog"
with name "dog", article "your",
describe [;
"Your dog is panting here.^";
],
daemon [;
give self ~concealed;
if (TestScope(self,player)~=0) print "Your dog lollops in.^";
StopDaemon(self);
],
react_before [;
Go: if (ZRegion(parent(self).(noun.door_dir))==1)
{
move self to (parent(self).(noun.door_dir));
give self concealed;
StartDaemon(self);
};
rfalse;
],
has animate;
This works, but it seems like a bit of a messy way of doing things. Surely
there must be a more elegant solution?
All help gratefully recieved,
JJF.
-- ******************************************************************************* * JJF's Homepage URL : * "Yay, what a CRASH!" * * http://www.cs.bham.ac.uk/~jjf/ * JJF, while using Windows 3.1 in 1994. * *******************************************************************************