I figured out how to do this so it works for me. I know there's a subtler more sophisticated method but since I'm a very new newbie, I'm just happy to have this work and to understand it.
Since it might help someone else, I'm going to post what I did. I followed Organican's instructions for making a subtitle box. It might also help the more knowledgeable people give me some tips on a better way to do it. If you don't think it's at all helpful, you can delete it. : )
I put a global in my little game's script base.scripts called "text".
I made a window in the scene where this all is to occur and called the window Box.
I attached one script to Box. That says:
#include "scripts\base.inc"
var Win = this.Parent;
Then I made a button "Topic" in the bottom left of the Window.
Parent notify True
Text "How are you?"
Font Franklin
Text Aligned Left
Disabled False
Visible True
Pressed True
etcetera
To that button I attached a script I added by hitting scene add script called Topic:
#include "scripts\base.inc"
var Topic = this.Button;
on "LeftClick"
{
text="I'm fine. How are you?";
}
Then I made another button under that one in the bottom left for the second talk topic:
Parent notify True
Text "Tell me about the missing spell books."
Font Franklin
Text Aligned Left
Disabled False
Visible True
Pressed True
etcetera
Attached script same way called Topic2:
#include "scripts\base.inc"
var Topic = this.Button;
on "LeftClick"
{
text="Strange things are happening in the palace.";
}
Then on the upper right side I made a third button instead of a static object.
Called this button Text
Parent notify True
Text "This is where you will see the response. (Although I could probably leave this blank-haven't tried yet.)"
Font Franklin
Text Aligned Left
Disabled True
Visible True
Pressed False
etcetera
To that button I attached the script -- same way as before via scenes add script:
Text
#include "scripts\base.inc"
var Text = this.Button;
while(true)
{ this.Text=text;
Sleep(300);
}
Now when the player presses a talk topic on the bottom, the responsive answer shows up in the box on the right---and I still have my nice picture in a static on the left.
If anyone can improve on this or shorten it, please do.
Thank you all for your help----eventually I'll understand the better way to do this.
