Isaac wrote: ↑Tue May 11, 2021 5:02 am
What —precisely— are you designing?
And what needs to happen?
First of all, thanks to the admins for creating this new thread. Now all my stuff is in one place and easy to find.
Okay, here's what's going on. It's the last room of level 1 before we go to level 2. The room has 8 locks and it appears no exit. Along the way, there are 8 keys that hadn't been used for other doors that the party collects. If they have all 8 keys then what happens next is they insert each key into its corresponding lock. When the last key is inserted, a script is triggered that spawns an altar in the center of the room. On the altar are the ingredients to make the Potion Of Unlocking. The party creates the potion and then goes to the alcove that is next to a secret wall that the party can't see. They put the potion in the alcove and the secret wall opens leading to the stairs down to level 2.
Now I just realized that if they don't have all 8 keys (I will have to check for this) I will need to spawn a teleporter that will take them back to the first room of the level so that they can retrace their steps and find the key(s) that are missing. That part I haven't figured out yet. I guess I will need to create a script to go through the party's inventory and check to see that all 8 keys are in their possession. Honestly, I have no idea how to do this but I'll cross that bride when I get to it. It is a script that will have to automatically run as soon as they enter the room. Something else I don't know how to do. So far, I only know how to trigger scripts by performing some kind of action.
Anyway, that's what's supposed to happen and that's where I am right now.
Any help you can give on how to automatically run a script to check for the 8 keys upon entry to the room (which is done through teleportation) will be greatly appreciated.