Help with objects?

eleisha93
26 May 2014, 05:37
I am new to quest and I don't know anything about programming. I have a desk with 3 drawers that you can search. However I want these 3 drawers to become visible when you search or look at it, is this possible? I cannot figure out how to do this. Inside of Drawer 2 there is a Convex Lens and a photo which you can pick up the convex lens, but it is not highlighted in blue or underlined. How would I fix this? Also I wanted to use this convex lens to search a painting and reveal a code for a keypad(which I've worked out how to put the code into the script, but I don't know how to use it in game). Lastly how do you create a 1 minute countdown time for a specific room, if thats possible? This is for a school project, which I am not enjoying working this program out by myself. Any help would be appreciated.

Ive just included the file, I thought that might be easiest. Since Im having such problems

Espera
26 May 2014, 09:10
What I would do is make each of the drawers containers. (If you're using the GUI, go to the Featues tab, select 'container', and that makes the container tab appear, and you can customize the properties of the drawers. You make the other object you want to be found in the drawers in the appropriate drawer. You'd make the drawers the parents of those objects.

It would play out like this in game.

You are in the bedroom.
You can see two drawer, middle drawer and bottom drawer
>Open top drawer
You open the top drawer, revealing a crumpled note
>open middle drawer
You open the middle rawer, revealing a contact lens


etc, etc. It sounds like what you're looking for.

eleisha93
28 May 2014, 06:36
Great. Thanks very much for the reply :)