Inform question ...


8 Jun 1995 13:55:12 -0700

This is probably a very simple question, but for the life of me I've been
unable to find the answer in the designers manual...

I have a chair with a seatbelt. If the player is buckled in, he
shouldn't be able to get out. I've tried checking this with a before
statement as follows (I'm using the general property to determine if the
belt is buckled or not...

...
before [;
Exit, GetOff: if(self has general)
"You are strapped in and can't get up!";
rfalse;
],

This may or may not be right...I'm new to this. If I play, I find the
parser gets action 36 (the action command is dandy :) when I try to get
off the chair, but even if the chair has general, it still lets me off.

Am I trapping the wrong action? This is really frustrating....

Thanks

-- 
|Evan Day                | "Audiowhore - sucking on sound, sucking my
| daye@peak.org          |  voice, dragging me down..."        
|"Redneckers, they get us|                         Go Loaf!                   
| pissed" - Black Francis| They've got the guns but we've got the numbers.