Opening things..

SarahParah
Ok so I have a problem.
I'm trying to put some objects in a cupboard (container).
I want them to be shown when the player says "open cupboard".
But, instead of that, the objects appear in the room without opening the cupboard and when I type "open cupboard" they actually disappear :?
How can I put them IN the cupboard and when the player types "open cupboard" to make them appear?
Please help me :(

Freak
When you're asking for help with code, try posting a minimal code snippet that demonstrates the problem.

Method 1:
1) Make a copy of the .asl file.
2) Comment out what's not relevant to your problem. (Put an apostrophe at the beginning of those lines.)
3) Check that the file still demonstrates the problem.
3a) If it does, erase the commented lines.
3b) If it doesn't, uncomment them.
4) Repeat steps 2 and 3 until you've cut the file to the bare minimum.


Method 2:
1) Create a new .asl file.
2) Add the parts that are relevant to your problem.
3) Check that the game still shows the problem.


While cutting the program down to the minimum, you might work out the problem yourself; otherwise, people are more likely to be helpful if they have to do less.

SarahParah
Thanks!
Really helped. :)

Thanatos
*sarcasm detector beeps wildly*

Make sure you havn't set the container to be transperant or initially open.

SarahParah
Whoops. Lol, I couldn't run it :P Dint checked before xD
I found out how to do it, so dm anymore :P
Thanks anyway :D :D

Thanatos
Happy to help.

Thana

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums