I'm creating a storygame that has locked doors in it. I want to be able to make it where you need the key to unlock the door and when you don't have the key and you haven't unlocked it yet, you can't click on the link.
I just can't seem to figure it out. I've tried reading the articles, but they don't seem to make sense to me (It's just me, I prefer an organized table with the scripts and what they do compared to the many paragraphs explaining it. It's just how I learn stuff.).
I have some of the keys as items and been testing out how to do it. I put the restriction on the link for the item restriction "has" because from what I understand, unless the main character has the key, they can't click on the link and whenever I test it, it doesn't work. I have no idea what to do. Any help would be appreciated.
Yes, I can click and go to the page with or without the key.
Have a Variable for Each Door with a Lock (%DOOR1, %DOOR2, %DOOR3, etc)
Set your Link Restrictions to allow the Link, only if the Value of the Variable > 0. Also set the Link to show even if Restricted.
Then when you want to give the player the"key", just set the Variable to a Value above zero.
Okay, I'll try.
I think I know what I did wrong now. Let me see if that's it, because everything seemed straight forward, but I think I did one thing wrong...
EDIT: I figured out what I did wrong. I didn't create an Unlock Door link on the page. The most obvious thing. But thank you!!!