I'm trying to make a game where you have a small number of rooms to walk between, and you solve puzzles and notice things within the rooms. I want the player to have to click on trigger-words to get more info about said words. (when I click on ball, text appears saying it's blue.)
My problem is that when the player leaves and re-enters the room, they have to click on the trigger-words again to get the info. I would like the info to stay there, even after exiting and re-entering.
I have tried tackling this a bunch of different ways, but none of them have worked. If I set a 'hook' going from the trigger-words to a 'set: variable to info', the info doesn't show up immediately. I have to exit and re-enter, and then the info is there but the trigger-words are click-able again (even though they change nothing). If I set the entire sentence that the trigger-words are in to a variable, and have it output the info as well as changing the variable to the info, it works the way I want it to, but I can't put different trigger-words leading to different info in the same sentence, and overall looks and feels a bit clunky.
I'm using Harlowe.
Sorry for the bad explanation, first time posting.
My problem is that when the player leaves and re-enters the room, they have to click on the trigger-words again to get the info. I would like the info to stay there, even after exiting and re-entering.
I have tried tackling this a bunch of different ways, but none of them have worked. If I set a 'hook' going from the trigger-words to a 'set: variable to info', the info doesn't show up immediately. I have to exit and re-enter, and then the info is there but the trigger-words are click-able again (even though they change nothing). If I set the entire sentence that the trigger-words are in to a variable, and have it output the info as well as changing the variable to the info, it works the way I want it to, but I can't put different trigger-words leading to different info in the same sentence, and overall looks and feels a bit clunky.
I'm using Harlowe.
Sorry for the bad explanation, first time posting.