1561
SCI Syntax Help / Re: Question re: SCI Studio Help code snippet
« on: August 24, 2010, 11:31:37 PM »
I think it's the string which defines an inventory object when you try to interact with it with the parser. So "look gem" and "look glowing gem" will function. Otherwise it won't work (which it doesn't for any of my current inventory items in KQ2SCI). Also, Inventory items are somehow tied to props which can be on the screen. The way Brian did it (or Sierra?) was that a player could drop an inventory object and it would appear on screen. So there might be some kind of shared script stuff there....as opposed to the natural way I'd look at it as completely separate bits of code that look like they belong together to the player.
I don't know if I'm making any sense.
A little snip from the SCI Studio help file regarding the InvI class:
This doesn't seem to work in the template game even if the said property is defined.
I don't know if I'm making any sense.
A little snip from the SCI Studio help file regarding the InvI class:
Quote
bool saidMe()
Returns TRUE is the user's input "Said" the name of the inventory item. Otherwise, FALSE.
This doesn't seem to work in the template game even if the said property is defined.
.