Verb 'Read' not working

I don't understand why this should not work.

<verb name="Read">
    <pattern>read</pattern>
    <defaulttext>There is nothing interested to read</defaulttext>
    <scope type="string"></scope>
  </verb>

I should be able to type read book and have the message "There is nothing interested to read" displayed

I get the error message
Error running script: Error compiling expression 'TypeOf(object, this.property)': FunctionCallElement: Could find not function 'TypeOf(Element, Object)'


  <verb name="Read">
    <pattern>read</pattern>
    <defaulttext>There is nothing interested to read</defaulttext>
    <property>read</property>
  </verb>

Quest needs to know which attribute to look at to determine if an object can be read. I'm assuming that you will give any readable objects a string or script attribute named read; though you can name it whatever you want.


Hi mrangel.

That works thanks. I have not given the book object a read attribute.


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

Support

Forums