Script lines throwing error when adding multiple

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
kimosabe
Posts: 22
Joined: Tue Aug 09, 2022 7:19 pm

Script lines throwing error when adding multiple

Post by kimosabe »

I'm having an issue with calling multiple registered lua functions from one script location.

To explain:

This works fine, the function behaves as expected.
Image

This doesn't work:
Image

I've also tried it with adding a semi-colon after the first line like in the docs but still an error.

What am I doing wrong here?

Thanks in advance!
User avatar
Tony Li
Posts: 21679
Joined: Thu Jul 18, 2013 1:27 pm

Re: Script lines throwing error when adding multiple

Post by Tony Li »

Hi,

What's the error? Can you click on it in the Console window, press Ctrl+C to copy it to the clipboard, then paste it into a reply?
kimosabe
Posts: 22
Joined: Tue Aug 09, 2022 7:19 pm

Re: Script lines throwing error when adding multiple

Post by kimosabe »

The error has been resolved. It was a followup method that didn't use 'double' as the paramter type.
Thank you!
User avatar
Tony Li
Posts: 21679
Joined: Thu Jul 18, 2013 1:27 pm

Re: Script lines throwing error when adding multiple

Post by Tony Li »

Thanks for the update. Glad you got it working!
Post Reply