Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - menotu3169

Pages: [1]
1
Thanks again for all your help, Kawa

I still am unable to get it working though. I'm pretty sure it's because of the whole SCI Studio /ScI scripting language thing.

I'm going to spend some time trying to get SCI Companion working so I can use the Sierra language and hopefully that will resolve a lot of things. If that doesn't work . . . . i dunno.

But again, many thanks

2
If by the inventory dialog you mean the one you get when you press Tab or type inventory, I don't know how look gizmo having the same effect makes sense to the player. But I may have sorely misunderstood your question.

I'm pretty sure I'm just explaining things poorly. I would like to be able to have the user type  'look gizmo' and bring up the inventory's description of the item(screenshot attached of what I would like to achieve).

Right now, the only thing I now how to do is to print a message. i.e.
Code: [Select]
(if(Said('look/gizmo'))
    Print("You see a gizmo"))

3
Found the issue:

The code in the tutorial (http://sci.sierrahelp.com/Tutorials/Tutorial1/chapter18.html) says
Code: [Select]
(if(Said("take/key'))
Notice that there's a double quotation before take, but only a single quotation after key. The mismatched quotes was one of the many issues I encountered. At first, I just copied and pasted from the website and didn't notice the mismatch. The compiler just kept saying 'Out bracket expected' so I kept chasing brackets. Once I did notice, however, I made the mistake of changing  the single quote to a double quote. Apparently double quotes don't get caught by the compiler, but will cause the game to crash with the 'bad said spec' error. Fun times.

And since there have been a few posts, I'm going to ask again:
Is there a tutorial on how to bring up the inventory dialog after typing 'look <item>'
None of the tutorials I've seen talk about that, and so far the only thing I am able to do is add a basic 'look' message

Thanks @Collector and @Kawa for your help.

4
Did you actually follow the step in chapter 17 where theKey is added to rm001.sc?

Apparently not. This fixed it, thanks!

Actually, I did go through that step, but ran into different issues while working on it yesterday.
Today I restarted from scratch and apparently I neglected that part.

Everything now compiles and runs, but when I try to take the key, i get a new error saying "bad said spec"

I am also wondering if there is a tutorial on how to bring up the inventory dialog after typing 'look <item>'
None of the tutorials I've seen talk about that, and so far the only thing I am able to do is add a basic 'look' message

Thanks

5
Hello,

I am trying to go through the tutorial to make my first SCI0 game, and I am having problems. 
Specifically, I am going through this part: http://sci.sierrahelp.com/Tutorials/Tutorial1/chapter18.html and I can't get it to work.

When I try to compile it, I get an error message saying ' Undefined Symbol "theKey" '

Based on the rest of the inventory tutorial, it seems like I should be using "key" instead, since that was the name used for creating the instance, but that gives the same error.

Any help would be greatly appreciated. Thanks

I am trying to create an SCI0 game, using SCI Studio 3.0.1.29
I know that SCICompanion is supposed to be better, but it doesn't seem to work on Linux, it just crashes any time I try to do anything with a script

Pages: [1]

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

Page created in 0.03 seconds with 20 queries.