inkle / ink

inkle's open source scripting language for writing interactive narrative.
http://www.inklestudios.com/ink
MIT License
4.06k stars 487 forks source link

External Functions Cause Inky Preview To Go Blank #689

Closed marcus-robinson closed 3 years ago

marcus-robinson commented 3 years ago

When adding an external function invocation to an ink file, the preview pane goes blank. There are no errors in the Inky validation UI or in the developer tools console.

Based on this documentation of external functions, I would expect that their invocation would be supported in the Inky editor.

Example Ink file that causes the preview pane to go blank:

EXTERNAL PlayNextFeedback()

Here is the invocation of an external function:
~PlayNextFeedback()

-> END

If you comment out the ~PlayNextFeedback() line, the preview pane displays correctly.

Inky version: 0.12.0 ink version: 1.0 inkjs version: 1.10.2 OS: Win10

marcus-robinson commented 3 years ago

Oops, moving this issue to the Inky repo where it belongs.