Oh you containers...(beginner question)

musegarden
08 Oct 2011, 15:33
Hi all,

I'm just starting out with Quest 5 and I'm trying to make a card be stuck inside of a book when you open it. I have all that set up fine and good, but when I type the "open" and "close" commands for the book, it says, "You open it," and then proceeds to print the custom open message I had entered. How can I get it to stop saying "you open it" or "you close it" and just print my message instead?

Thanks for any help.

Alex
09 Oct 2011, 11:47
There's not a built-in way to do this, but I've added it to the Issue Tracker for v5.0.1: http://quest.codeplex.com/workitem/917

In the meantime, you could customise the "OpenObject" and "CloseObject" functions, and get them to check for a custom attribute on your object. If the attribute exists, print it, if not then print the existing DynamicTemplate expression. I can give you step by step instructions, or you might prefer to wait for v5.0.1 - which I'll hopefully get started on this week so should be available pretty soon.

musegarden
09 Oct 2011, 14:19
Thanks a lot for your reply Alex. I'll have a go at the code myself first, but good to hear its a coming feature/bugfix.