Add more than one statement in scripts?
Add more than one statement in scripts?
Hi, I looked everywhere in the manual, but I couldn't find a way to add more than one statement in the script section of a single dialogue. I'm trying to ShowAlert("") and change a variable all at once. How would I be able to do this?
Re: Add more than one statement in scripts?
Hi,
If you're using the wizard ("..."), click the "+" button again to add another line.
If you're typing it manually, or adding to a Script field that you set using the wizard, just put new statements on separate lines, or separate them with semicolons, or both:
If you're using the wizard ("..."), click the "+" button again to add another line.
If you're typing it manually, or adding to a Script field that you set using the wizard, just put new statements on separate lines, or separate them with semicolons, or both:
Code: Select all
ShowAlert("This is an alert.");
Variable["Foo"] = 42
Re: Add more than one statement in scripts?
I'm so stupid. Thank you.
Re: Add more than one statement in scripts?
No worries! Glad to help!