Hi.
I used to use an older version of quest where this code worked, now it's got errors.
I was just hoping to get a handle on this as I'm not sure how to go about it.
The earlier was code
formatObjectList("you can see",player.parent, "and" ,"in this room.",false)
Help!:)
Thank you
But I'm at a total loss at what to do
Before I could just print an expression to list objects, I'm sure I'm missing something obvious but I don't know
This is the line where look
calls it:
FormatObjectList(game.pov.parent.objectslistprefix, GetNonTransparentParent(game.pov.parent), Template("And"), ".")
That doesn't print anything at all when I plug it into a function and call it with a command.
Are you wanting to be able to change what it says on-the-fly?
If you just want to print the room description, ShowRoomDescription
will do the same as when the player enters LOOK.
Ha! Got it!
I made a command called new look
.
Script:
variable = FormatObjectList ("Check it out! There's ", GetNonTransparentParent(game.pov.parent), Template("And"), "!")
msg (variable)
Output
> look
You are in a room.
You can see a thing and a widget.
> new look
Check it out! There's a thing and a widget!
Lol.
Thank you for showing me the preciousness
š K.V. likes this.
No... Thank you !
I hadn't even thought of using something like this!