poppyfish wrote: ↑
Sun Jan 27, 2019 1:02 pm
Is it possible to have dialog show up in two different places? For example, narration & dialog aimed at the player show up in the usual bottom position, and background or overheard dialog show up somewhere else?
Yes it is possible.
You have script for where the dialog window (say) is placed in screens.rpy
find 'screen say(who, what):'
under that you will find the settings for the window under
You copy that and the block of text under that, and past it under the original block.
Change the name of the new block to
and change the values for the position to what you want to have.
You now have two styles for the window position, 'style window' which is the default style, and style 'window2' that you could use as an alternative.
Let's say you have a character called Paul you could now define two characters for Paul. One to use when he is talking directly to the player and one where he is overheard
define P = Character("Paul", image="Pl")
define Poh = Character("Paul", image="Pl", window_style="window2")
P "This is Paul speaking to the player."
Poh "This is Paul being overheard of the player."