So, i am making a game and i am stuck at this part of coding
I use imagebuttons for all the mapping and when you click a character UI shows up with options like "Greet", "Apologize", etc (Also imagebuttons)
The character in the image below is an imagebutton too
I want to make it so that when the player selects an option like "Greet", there is a dialogue between the characters
Now, here in the imagebutton I use action[Call "label"]
The problem is when i call a label to trigger the dialogue, all the present screens are cleared and only black screen is shown
So as you can see, this happens
Is there a way to Show a label or maybe Show a "say" screen so that the dialogue is shown as in the 3rd image but everything else also stays on the screen
"lc_clg_wtr" is a screen, it has the imagebutton for character, clicking on her bring the UI i.e "screen UI_basic"
"screen UI_basic" has an imagebutton "Greet", clicking on it call a label i.e "label eva_grt"
Anyway to make keep the screens and show the dialogue?
I use imagebuttons for all the mapping and when you click a character UI shows up with options like "Greet", "Apologize", etc (Also imagebuttons)
The character in the image below is an imagebutton too
I want to make it so that when the player selects an option like "Greet", there is a dialogue between the characters
Now, here in the imagebutton I use action[Call "label"]
The problem is when i call a label to trigger the dialogue, all the present screens are cleared and only black screen is shown
So as you can see, this happens
Is there a way to Show a label or maybe Show a "say" screen so that the dialogue is shown as in the 3rd image but everything else also stays on the screen
Code:
#Location and character
if lc_clg_wtr:
add "/images/m_clg_wtr.jpg"
imagebutton:
auto "/images/m_wtr_eva_%s.png"
focus_mask True
mouse "imagemap"
action [ToggleVariable("sl_eva", True), Show("UI_basic")]
#UI button
screen UI_basic():
#Greet
imagebutton:
auto "/images/UI/Greet_%s.png"
tooltip "Greet."
focus_mask True
mouse "imagemap"
if sl_eva:
action[Hide("UI_basic"), Call("aur_eva")]
#Label for Dialogue
label eva_grt:
eva "Hi there."
$ sl_eva = False
call screen UI_h
"screen UI_basic" has an imagebutton "Greet", clicking on it call a label i.e "label eva_grt"
Anyway to make keep the screens and show the dialogue?