Unlock exit not working?
flapperdave
22 Dec 2010, 05:53I'm not sure what I'm doing wrong, if anything. I set up a script to use an inventory item on another object which should unlock an exit, but when I attempt to use said exit, it's still locked.

Pertex
22 Dec 2010, 13:43Could you post an example (asl-file) with your problem?
flapperdave
22 Dec 2010, 16:23Sure thing...just as soon as I figure out what an asl file is...
Alex
22 Dec 2010, 16:45It's the game file you're editing in QDK. You can upload it here by replying and clicking the "Upload attachment" tab that appears under the Save/Preview/Submit buttons.
flapperdave
22 Dec 2010, 17:36Ok, here you go.

Pertex
22 Dec 2010, 18:16You have to use the direction instead of the roomname with the unlock-command.
"Unlock the exit from 'Room A' to 'east' " instead of "Unlock the exit from 'Room A' to Room B' "
Alex wrote in an earlier threat:
"I realise this isn't actually very clear from the documentation, but you use a room name as the second parameter for "go to (room name)" type exits - for directional exits you need to use the direction name instead."
"Unlock the exit from 'Room A' to 'east' " instead of "Unlock the exit from 'Room A' to Room B' "
Alex wrote in an earlier threat:
"I realise this isn't actually very clear from the documentation, but you use a room name as the second parameter for "go to (room name)" type exits - for directional exits you need to use the direction name instead."