Solved: Tutorial question with do ( ) script

Hello 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.]


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums