Page 1 of 1

Script lines throwing error when adding multiple

Posted: Mon Apr 10, 2023 10:36 am
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!

Re: Script lines throwing error when adding multiple

Posted: Mon Apr 10, 2023 2:51 pm
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?

Re: Script lines throwing error when adding multiple

Posted: Mon Apr 10, 2023 4:01 pm
by kimosabe
The error has been resolved. It was a followup method that didn't use 'double' as the paramter type.
Thank you!

Re: Script lines throwing error when adding multiple

Posted: Mon Apr 10, 2023 7:34 pm
by Tony Li
Thanks for the update. Glad you got it working!