Community

SCI Programming => SCI Syntax Help => Topic started by: MusicallyInspired on June 18, 2007, 02:10:04 AM

Title: Door Always Closing (no "It already is" message)
Post by: MusicallyInspired on June 18, 2007, 02:10:04 AM
Taking a break from that inventory stuff I decided to create a door. This door works wonderfully except that when I type "close door" when it's already closed it goes to the last cel in the loop and closes the door again. I can do this over and over again. I see in the Door class that it's supposed to say "It is." but it isn't saying that it just closes again. "Open door" works fine. When I try to open it when it's already opened it says "It is." but "close door" doesn't.
Title: Re: Door Always Closing (no "It already is" message)
Post by: troflip on June 18, 2007, 11:56:31 AM
It happens to me too.  I guess it's a bug in Brian's Door.sc script, but I'm suprised no one has seen this before (or maybe they have, and I forget).  Or it could very well be a bug in the original game that Brian based his script of off.