Unlocking a closed exit
Vorjan
27 Jun 2011, 23:57Hi Alex,
first of all, congratulations for this amazing piece of software!
I'm really a newby and I'm just trying to make a simple action such as giving a ticket to a doorman, in order to open a closed exit... but I've tried everything and I just manage to give the ticket to the guy, but the damn exit remains closed and the ticket still shows on my inventory afer giving it to the doorman...
Please help!!!
Thanks in advance,
Vorjan
first of all, congratulations for this amazing piece of software!
I'm really a newby and I'm just trying to make a simple action such as giving a ticket to a doorman, in order to open a closed exit... but I've tried everything and I just manage to give the ticket to the guy, but the damn exit remains closed and the ticket still shows on my inventory afer giving it to the doorman...
Please help!!!
Thanks in advance,
Vorjan
Alex
28 Jun 2011, 07:59Is this Quest 4 or 5?
Could you please attach your ASL or ASLX file to your reply (use the Upload Attachment tab on the reply screen).
Could you please attach your ASL or ASLX file to your reply (use the Upload Attachment tab on the reply screen).
Vorjan
28 Jun 2011, 12:15Hi Alex,
I'm using Quest 5.
An attach with the save file is being sent yo you, so that you can tell me what is wrong... it must be something dead easy, so please be patient
All the best,
Vorjan
I'm using Quest 5.
An attach with the save file is being sent yo you, so that you can tell me what is wrong... it must be something dead easy, so please be patient

All the best,
Vorjan
Alex
28 Jun 2011, 13:44It's a Quest 4 game 
There are two things wrong here:
- first, you're unlocking the wrong exit. Your locked exit is "go east", not "go to Room B", so your "unlock" script command needs to unlock Room A's "east" exit.
- secondly, the object remains in the inventory because you haven't told Quest to do anything else with it. Use the "take an object from the player" command in your "give" script to remove the ticket from the inventory.

There are two things wrong here:
- first, you're unlocking the wrong exit. Your locked exit is "go east", not "go to Room B", so your "unlock" script command needs to unlock Room A's "east" exit.
- secondly, the object remains in the inventory because you haven't told Quest to do anything else with it. Use the "take an object from the player" command in your "give" script to remove the ticket from the inventory.
Vorjan
29 Jun 2011, 15:27Hi Alex,
yes, it's Quest 4
I've managed to solve those two issues, although I used a different solution for the unlocking problem...
I have another question for you:
How can I have, in my inventory, a wallet with three bills inside?
The only way I found so far was to have a wallet lying around in a room and them pick it up, so that it can go to my inventory...
Thanks a lot once again!
All the best,
Vorjan
yes, it's Quest 4

I've managed to solve those two issues, although I used a different solution for the unlocking problem...
I have another question for you:
How can I have, in my inventory, a wallet with three bills inside?
The only way I found so far was to have a wallet lying around in a room and them pick it up, so that it can go to my inventory...
Thanks a lot once again!
All the best,
Vorjan
Alex
29 Jun 2011, 17:02If you create a room called "inventory", you can put anything in there that you want the player to be holding at the start of the game. So you can add a "wallet" object, and add your "bill" objects, with their parent set to "wallet".
Vorjan
29 Jun 2011, 19:08Thanks Alex, I've already sorted that out!
All the best,
Vorjan
All the best,
Vorjan