Naming exits

In the GUI you can name exits. I would love to do that so the game would print "You can go to the storage" as a link instead of "You can go south". The problem is that when I change the name of the exit to "Storage" then I get the message "there is already a thing called Storage" (the room).
How can I have the game print exits as links but with the name of the room they lead to?

"You can go to the Storage, Cockpit, Huge closet, Airlock" (with links) is way better than "You can go north, south, east or west"


You need to set the alias to be "storage" or whatever. Unfortunately, you cannot do that directly in the on-line version. The best you could do is give each a unique name, and in the "start" script of the game object, assign the aliases there.

exit_cockpit_to_strorage.alias = "Storage"

At least, I would guess that would do it. Try it before spending to much time on it to see.


Thanks, Pixie.
But it seems that if you use an alias for an exit then it disappers from the compass.


Yes, because it is the exit to storage, not the exit south. If you want both, create two exits, one north, one to storage (but if it is a spaceship, do you want compass directions?).


Okay thanks, Pixie.
Maybe you are right. A compass in space would act funny :-)


Proudly Humble
16 Aug 2016, 22:00

Gollummen,

You might be interested in this...
http://docs.textadventures.co.uk/quest/guides/port_and_starboard.html


Thanks, Humble