Page 1 of 1

Two window text box help

Posted: Wed Jul 13, 2016 11:12 am
by princessap7
fixed

Re: Two window text box help

Posted: Wed Jul 13, 2016 11:40 am
by chocoberrie
Hmmm... The error says invalid syntax, which means something in the code was written incorrectly. I'm not sure why you have Character(_("name here"), code here) instead of define variable here = Character("name here", code here).

Try this:

Code: Select all

define pov = Character("[povname]", color="c8ffc8", show_two_window=True)

define c = Character("[Casey]", color="c8ffc8", show_two_window=True)
If you want the names of the characters to appear in brackets like [NAME], you could use who_prefix and who_suffix, like this (just make sure the font you're using has the brackets [] themselves or else they won't show up properly):

Code: Select all

define pov = Character("povname", color="c8ffc8", show_two_window=True, who_prefix="[", who_suffix="]")

define c = Character("Casey", color="c8ffc8", show_two_window=True, who_prefix="[", who_suffix="]")
Then, in the script, you can use pov and c to call to those characters when they have dialogue. Like this:

Code: Select all

c "I'm Casey."
pov "I'm another character."
I hope this helps! :)