Exits display room NAME in link. Help?
Niekitty
13 Sept 2016, 03:53(Please bear in mind that while I'm not entirely helpless when it comes to code, I'm not a programmer by nature.)
I have a project that I am working on (slowly), but I end up working on it from several different computers as they are available, so I am currently using the web interface for editing (cannot install the .exe on one of the computers I use), so this MIGHT be an issue with some feature that isn't in the browser version.
My problem is this: When I create an exit it either has a basic compass direction alias, or it shows the NAME of the room it links to.
It's creating a very frustrating, and early speedbump, as it means that the "New Game" and "Skip Prolog" links I'm including (well... trying to include...) are appearing as "s01Prolog", and "Mansion f1 Porch" in the actual gameplay.
Is there a way to make the exits display their own name (or preferably an alias OTHER than the basic directionals), or am I going to have to beat my head against the code-wall until I pass out from loss of [player.sanity]?
The Pixie
13 Sept 2016, 07:10I have no idea how you have got it to show the name. As far as I am aware, what gets displayed is the alias, and in the off-line version, you can select from the list, or type what you want. In the on-line version, however, you cannot type in your own text; you are stuck with the compass directions.
There is a workaround, but it is not elegant. You can set the alias in the start script.
Give you exit a name, I will use test_exit, then go to the Scripts tab of the game object. For the start script, in code:
test_exit.alias = "Skip Prolog"
Niekitty
13 Sept 2016, 18:34Oooof... yeah, I was hoping to avoid a code solution, but if I keep using the browser editor I guess I'll have to; it only has a list of directions for the alias. It shows the room name (not room alias) if I don't select a direction alias and leave that blank.
Oddly, the browser doesn't seem to allow me access to object attributes, either...
I may have to use the .exe and just write everything out in a Word file when I'm at the lobby computer, at this rate.
Thank you, Pixie.