You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_display_texts() needs a parsed array of DialogueCommands from the raw text of its node. get_parse() creates a new DialogueParser and calls its parse() function, which returns a nested array of DialogueCommands that always has exactly one element at the top level with CommandType.ROOT. the bit of code inside get_display_texts() that enumerates over the result of get_parse() doesn't seem to take this into account, always returning an empty string as a result.
i fixed this on my end (for now) by instead checking each child of parseItem for its type, but i am very unfamiliar with this add-on, so i don't know if it's possible there may be more nested commands inside those children depending on the node.
The text was updated successfully, but these errors were encountered:
a bit of an odd one to report, since thit function doesn't seem to be used anywhere currently.
here's both get_display_texts() and get_parse() for context:
get_display_texts() needs a parsed array of DialogueCommands from the raw text of its node. get_parse() creates a new DialogueParser and calls its parse() function, which returns a nested array of DialogueCommands that always has exactly one element at the top level with CommandType.ROOT. the bit of code inside get_display_texts() that enumerates over the result of get_parse() doesn't seem to take this into account, always returning an empty string as a result.
i fixed this on my end (for now) by instead checking each child of parseItem for its type, but i am very unfamiliar with this add-on, so i don't know if it's possible there may be more nested commands inside those children depending on the node.
The text was updated successfully, but these errors were encountered: