gamebook page links question

crystalwizard
02 Feb 2017, 04:56Convoluted explanation:
I have page 1. ON page one I have several choices that I want to have link to other pages thus:
Alice walked out the door. She was carrying:
apples
oranges
bananas
milk
pickled pigs feet
I can make links to other pages for all of the items in the list just fine. Now, here's the problem:
On the initial page I MUST have those items show up with those words
On the pages that those items link to, I do NOT want those words to show up.
I have only 2 things I can fill in for a link: Page name (must be an existing page) Link text (Apples). So I fill those in and on page 1, I see Apples as a link. But when I run the game, and click the link, I get:
Apples
page 2
blah blah blah blah
and I really, badly, want the link text not to show up on that page. Anyone know what function, and where in that function, this is being called?
Pertex
02 Feb 2017, 06:47It's in GamebookCore.aslx, function HandleCommand:
if (not game.clearlastpage and HasAttribute(player.parent, "options")) {
if (DictionaryContains(player.parent.options, command)) {
optiontext = StringDictionaryItem(player.parent.options, command)
msg ("<b>" + optiontext + "</b>")
msg ("")
}
JS.disableAllCommandLinks()
}

crystalwizard
02 Feb 2017, 21:22excellent. thank you.