A wallet in my trousers
qroft
12 Feb 2015, 21:47Hi,
at this moment i am having some trouble with this situation...
i have a player object. within the player are several other objects like this:
PLAYER - TROUSERS - POCKETS - WALLET - CREDIT CARD
Starting from TROUSERS the other child elements are not showing as long as the user does not LOOK AT TROUSERS.
My problem now is that when i do any other move, the POCKETS, WALLET and CREDIT CARD children are still shown
inside the inventory pane.
So my question is on how i can hide these whenever i have NOT looged at trousers.
I am thinking about something like a "referer".
As TROUSERS is an open object, shall i close it always on a new turn?
Thanks in advance
at this moment i am having some trouble with this situation...
i have a player object. within the player are several other objects like this:
PLAYER - TROUSERS - POCKETS - WALLET - CREDIT CARD
Starting from TROUSERS the other child elements are not showing as long as the user does not LOOK AT TROUSERS.
My problem now is that when i do any other move, the POCKETS, WALLET and CREDIT CARD children are still shown
inside the inventory pane.
So my question is on how i can hide these whenever i have NOT looged at trousers.
I am thinking about something like a "referer".
As TROUSERS is an open object, shall i close it always on a new turn?
Thanks in advance
The Pixie
12 Feb 2015, 22:07Have you tried setting Trousers to be a container? It should work automatically then (your body part question could also be done that way too). Experiment withthe different options.