Exit links not displaying
Jamie Furlong
20 Aug 2018, 05:37I'm guessing this is something I've switched off in my text-based game (panes are turned off) but using the text processor {exit:room2} does not display a hyperlink. I've got the spelling right because it displays the alias to room 2, but it's just the name, just not a link. In the text processor when I click the Exit Link button on the right, a window pops up asking me to insert the exit name. There appears to be a drop-down list which I assume should show me all available exits, but it is empty. The exit to room 2 from room 1 is one way only. The hyperlinks option in Display is selected.
Any pointers?
Pertex
20 Aug 2018, 08:24This seems to be a bug
Jamie Furlong
20 Aug 2018, 08:27Hi Pertex. Fortunately I've changed tack and am now using objects so it no longer affects me. However this certainly seems to be a bug unless there's another explanation.
mrangel
20 Aug 2018, 09:55Have you actually given the exit a name? The drop down, I think, only shows explicitly named exits.
Is "room2" the name of the exit, or the room it leads to? If it's the room, then ProcessTextCommand_Exit
will happily create a link, and then the javascript will immediately remove it because the room isn't on the list of exits in scope that is passed to UpdateExitLinks.
Pertex
20 Aug 2018, 10:06Ah, yes, as the documentation says you must use the name of an exit with the exit tag. Then it works
Jamie Furlong
20 Aug 2018, 10:49Hmmm... I thought I'd named it but maybe I didn't because I now have it working. Thanks for the replies.