I'm getting pretty far into my first game, and using a lot of object links in my text {object:objname}.
But this format can only print a link with the alias of the object. Suppose I want to print a link to objname, with its associated verbs, but use an alternate printed name for the object? This would be so simple to do for a html hypertext link, but I can't find any documentation to do the same thing with Quest object links.
Is there a way to do this, short of writing a script to change the alias of the object, print the link, then change the alias back to the original name, which seems wildly impractical.
Thanks to all at this forum for the great help so far.
You can also put expressions inside. Don't use the alias.
Create object hyperlinks like this: {object:" + object.name + "}
Edit: Objects must be reachable for the player to become hyperlinked.
Reachable are all items...
Suppose I want to print a link to objname, with its associated verbs, but use an alternate printed name for the object?
That is generally what the alias is.
Can you give an example of what you are trying to do?
mrangel, That works perfectly!
to Pixie's question, for scenery objects in particular, which are embedded in a room description and not listed at the bottom as "you can see" I find it easier to read and edit the room descriptions if I can use the room description to force how the object will print itself. I know it's not very object-oriented of me, but this is a case where I don't want to be.
mrangel, That works perfectly!
to Pixie's question, for scenery objects in particular, which are embedded in a room description and not listed at the bottom as "you can see" I find it easier to read and edit the room descriptions if I can use the room description to force how the object will print itself. I know it's not very object-oriented of me, but this is a case where I don't want to be.