Verb 'Read' not working
Brian5757
17 Mar 2020, 11:13I 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)'
mrangel
17 Mar 2020, 11:49 <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.
Brian5757
17 Mar 2020, 12:29Hi mrangel.
That works thanks. I have not given the book object a read attribute.