Web Interface Creator, Object Link Not a URL
teeth_03
02 Sept 2015, 12:02Quick Question
I'm making a game where I'd rather not use Compass directions, so I'd rather use object links in the description to link rooms together.
The problem is, if I use either the Exit or Object functions in the room descriptions, it prints out the name of the room, but it doesn't make it a hyper link.
I tried:
Access The {exit:Sol}
Access The {object:Sol}
But the game just prints the following as text and not a link
Access The Sol System Map
Access The Sol System Map
Any thoughts?
I'm making a game where I'd rather not use Compass directions, so I'd rather use object links in the description to link rooms together.
The problem is, if I use either the Exit or Object functions in the room descriptions, it prints out the name of the room, but it doesn't make it a hyper link.
I tried:
Access The {exit:Sol}
Access The {object:Sol}
But the game just prints the following as text and not a link
Access The Sol System Map
Access The Sol System Map
Any thoughts?
Alex
02 Sept 2015, 14:54That will link to the exit or object if it's available where the player currently is. So if it's not showing up as a link, that means they're inaccessible - inside another room for example.
teeth_03
02 Sept 2015, 15:45The object is a room which has an exit from the room I'm trying to do that in.
I can get to the same room using the compass directions, but going Out (or North, etc) in Space doesn't make as much sense.
I can get to the same room using the compass directions, but going Out (or North, etc) in Space doesn't make as much sense.

Pertex
02 Sept 2015, 19:12Could you post a simple test game with that problem please?
teeth_03
02 Sept 2015, 21:43teeth_03
03 Sept 2015, 21:08I was able to figure out why it wasn't a link by using {exit:} , but its still not working as I would like it to. If you point to an Exit object, it uses the direction name as the link text and not the name of the exit.

Pertex
04 Sept 2015, 06:14With the exit tag you have to define the name of the exit, not the name of the destination room. It displays the name of the exit as link text and it's not possible to display a custom link text. If you want to do this you could use the command tag like this
{command:south:go to south}