How to enter new passage while in story mode but not before I must do something that will trigger this entering of the new passage?
e.g. Go through a certain door so the story can advance, but after I click a certain link so that I can be allowed to go through the door.
Comments
@Dime: Basically you would do the following:
1. Create a story variable with a default value false, this would indicate that they can't enter the 'other' passage.
2. You would change the value of the story variable to true once the Reader has done "the something" required to allow them to enter the 'other' passage.
3. In the passage that will contain the conditional markup link to the 'other' passage you will check the current value of the story variable and only show the link to the 'other' passage if that value is equal to true.
As @Chapel stated, if you don't tell us the name and full version number of the story format you are using then we can't supply code examples because those examples can be different for each story format and sometimes version of story format.
1. Your story's startup tagged passage, in which we initialise the $hasKey story variable using a (set:) macro.
2. The passage in your story you want the condition markup link to appear in, in this example it is named Hallway an it contains the following code. ... the above uses an (if:) macro and an (else:) macro to check the current value of the $hasKey variable to determine what to show the Reader.
3. The Bathroom passage, in which the key required to unlock the Library is found.
4. The Library passage, where the Reader wants to be.