TADS help pleeease!


12 Aug 1995 21:02:59 GMT

Hiya. Once again I have a major problem with Tads. This is my first attempt at
programing (what I think to be) a very complicated bit of code. Slight spoiler
for my game ahead so only continue of you know you can help...

*************

Okay. In my game you play a hologram. Unable to pick things up, etc. I'm trying
to code a device called the "HoloScanner." The HoloScanner can scan an object
and store the object's molecular structure in it's memory. With a push of
a button, the HoloScanner will simulate a hologrammic version of the scanned
object that you can hold. The Holoscanner works like this:

There are three pieces to the HoloScanner: a display screen, a panel (with
about a dozen colored buttons), and the scanner piece.

The game starts with all the buttons dark expect for the purple one. You are
holding the HoloScanner and a HoloBook. You read the display screen and you
see the message:

"BOOK -- PURPLE BUTTON"

Eventually you'll come across a yoyo. You scan it with the HoloScanner, and
than the blue button lights up. You read the display panel again to read the
message:

"BOOK -- PURPLE BUTTON
YOYO -- BLUE BUTTON"

You push the blue button. The HoloBook disappears, and the HoloYoyo appears in
it's place.

Understand what I am trying to do? I am having EXTREME difficulty coding
this. maybe I'm missing something obvious. Or is there a better way to go
about this? The buttons don't have to light up, I just thought it would be a
nice way to let the player know which buttons are available. Remember, I want
the HoloScanner to do two main things:

A) An easy method of choosing between objects.

and

B) When you choose one object, the one you are currently holding disappears.

Any takers? Could somebody help me?

Thanks!!

Only from the warped mind of,

David L. Gilbert