Unlock exit not working?

flapperdave
I'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
Could you post an example (asl-file) with your problem?

flapperdave
Sure thing...just as soon as I figure out what an asl file is...

Alex
It'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
Ok, here you go.

Pertex
You 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."

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

Support

Forums