Re: Best way to swap portrait sprites?
Posted: Sun Aug 22, 2021 11:49 am
I see, thank you Tony!
Another small question, how can I use the RPGMaker pause with the lua RandomElement? Thats what I'm doing
And the " \. " breaks the script:
Another small question, how can I use the RPGMaker pause with the lua RandomElement? Thats what I'm doing
Code: Select all
[lua(RandomElement("Sure, why not.|I think I could spare a few minutes...\.If it helps, ask away..."))]
Dialogue System: Lua code 'return RandomElement("I think I could spare a few minutes...\.If it helps, ask away...|I think I could spare a few minutes...\.If it helps, ask away...")' threw exception 'Code has syntax errors:
Line 1, Col 61 '\': Failed to parse '\"' of StringLiteral.