woolplatform / wool

The WOOL dialogue language description and tools.
MIT License
1 stars 0 forks source link

WOOL Editor: Error on <<action >> statements #43

Closed hopdenakker closed 4 years ago

hopdenakker commented 4 years ago

Editor Version: 1.4.0 Web or Desktop: Desktop Operating System: Mac Browser (for Web): -

The editor gives an error on the following statement:

<<action type="generic" value="CLOSE_BOOK">>

The error given is as follows:

Error: cannot parse << ... >> statement

But it's a correct WOOL action statement :)

borisvanschooten commented 4 years ago

Is this an <> statement within a reply? Please give example code.

hopdenakker commented 4 years ago

It's a "separate" statement within a WOOL Node:

<<action type="generic" value="CLOSE_BOOK">>

So, let's close the book.

[[Okay.|NextNode]]
borisvanschooten commented 4 years ago

Ok, the JS parser currently does not support separate action statements. I'll add it.

borisvanschooten commented 4 years ago

Separate action statements are now supported.