Author Topic: "LOOK" problem  (Read 3044 times)

0 Members and 1 Guest are viewing this topic.

Anonymous Butler

  • Guest
"LOOK" problem
« on: March 08, 2003, 09:50:39 PM »
Hey, everyone.  I'm having a problem with my statements.  I have this:


(if(Said('look'))
        Print("This room is very similar to the last, but there's a note on the wall.")
    )

    (if(Said('read / note'))
        Print("Congratulations! You've just completed the game!")
    )

----------------------------------------------------------

(This is a short game based on the tutorial)

Anyway, when I put in "look" in the game, I get my look statement.  However, when I put in "Read note", I don't get that statement, but rather the regular 'look' statement.  Anyone know what's wrong here?



Offline Brian Provinciano

Re:"LOOK" problem
« Reply #1 on: March 09, 2003, 06:34:35 PM »
Mr T.: No offence, but _please_ inspect the questions more before resonding!! You're giving everyone wrong answers!

Anonymous Buter:
Hi. Your problem lies in the vocab. Sierra originally grouped the words "look" and "read" together. That being the case, typing "read" will always be the same as "look", as well as "display", etc.

To fix it, simply load the vocab.000 ("Words") vocab in the Vocabulary Editor, go "Find Word"->"look" then remove the word "read" from the look group, and create a new group, placing it in there. Finally, recompile the script(s) using the "read" word.


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.053 seconds with 21 queries.