When creating the class public class YarnCustomCommandExtensions : YarnCustomCommands
I created a function for end_cutscene. However I run into the error below
Code: Select all
Dialogue System: Lua code 'end_cutscene()' threw exception 'Code has syntax errors: Line 1, Col 1 'e': Failed to parse r
This happens even without implementing the custom method and my guess is that anything that starts with end doesn;t work for Lua script method name.
- Screenshot 2024-07-30 011548.png (43.44 KiB) Viewed 288 times
Reference:
https://www.pixelcrushers.com/dialogue_ ... yarn2.html
My work around is to create the custom script method that doesn't start with end