Putting objects in containers
staples
14 Nov 2013, 04:25Okay, so I'm having a lot of difficulty trying to get an object into a container. Ideally, I'd like to be able to put a book in a space on the shelf and have it unlock a door, but I can't get it to say anything but "done" when I say something like "put book in gap". I tried using the expression "^put (?<object>.*) (on|in) (?<object2>.*)$|^put (?<object>.*)$" that I found on one of the other forums as a regular expression instead of a command pattern, but it still won't allow me to "put book in gap"; it just says "that doesn't work". Any suggestions?
Liam315
14 Nov 2013, 05:56Without seeing a copy of what you already have I can only guess, but it's likely to be one of the following:
"Gap" isn't specified as an object. For the put command to work, the gap must either be an object in it's own right or an alternate name for the bookshelf.
If gap is an object (or an alternate name for the bookshelf), then you need to make sure that it (or in the latter case, the bookshelf) is a container of some sort. Without making it an open container or surface, Quest sees it as a solid object that no other object can be put inside of.
"Gap" isn't specified as an object. For the put command to work, the gap must either be an object in it's own right or an alternate name for the bookshelf.
If gap is an object (or an alternate name for the bookshelf), then you need to make sure that it (or in the latter case, the bookshelf) is a container of some sort. Without making it an open container or surface, Quest sees it as a solid object that no other object can be put inside of.
staples
14 Nov 2013, 18:03Gap 1 is it's own object, and it's a container. This is the simple test game that I've been trying to get it to work on, not the actual game.

Avantar
14 Nov 2013, 21:01I hope this helps:
For starters - the object's name is Gap 1 - so you can't use the word "gap" - I gave it an alias of "gap" in the attachment.
Secondly, the container needs to be open or at least must be able to be opened.
Lastly - to my mind the the word 'put' already exists and therefore I have deleted your verb.
After you picked up the book, you will now be able to say: "put book in gap"
done
For starters - the object's name is Gap 1 - so you can't use the word "gap" - I gave it an alias of "gap" in the attachment.
Secondly, the container needs to be open or at least must be able to be opened.
Lastly - to my mind the the word 'put' already exists and therefore I have deleted your verb.
After you picked up the book, you will now be able to say: "put book in gap"
done