Solved: Tutorial question with do ( ) script
Silmon
11 Sept 2017, 08:30Hello all, I'm new to Quest and am following along in the tutorials and ran into an issue.
In this section http://docs.textadventures.co.uk/quest/using_verbs.html , it mentions using a command to invoke an object's verb attribute. However, when I use the example given, it gives an "Object reference not set to an instance of an object." error message.
Is there a way to point to the correct object instance in this example?
Thanks!
===
I dug around a bit more and found the reason. I'm attaching it here for reference for other new developers.
[Solution: The output of the object's verb cannot be a simple "Print a message" text. It must be a script.]