Hi TomGamer, welcome to Wintermute!
For your first question:
It seems that in the current scene (Menu) you have loaded your main actor but forgot to hide him. This is probably done in your
scene_init.script. You probably don't see the actor because in this scene you are showing a window with buttons etc. which overlaps the actor. In the Menu scene_init.script, you should have something like the following:
which will hide the actor in the current scene. Take care to show the actor in the scenes you want him visible:
You can refer to
http://docs.dead-code.org/ in Scripting in WME -> Script language reference -> Actor for explanation on the Active property.
For your second question:
What I understand is that you want to click on the topics on the left and show the content in the book in the center. You have several buttons on the left with the topics and a static text in the center. You can have something like the following for each button:
on "button"
{
var textBox =
this.
GetControl("name_of_static_text");
textBox.
Text =
"the text you want to show";
}
There is a difficult part here, especially if you are new to programming and don't fully understand objects and objects inside objects. This is because you might have your static text (an object) inside a sub-window (another object), in which case you must change the code to something like this:
on "button"
{
var subWindow =
this.
GetControl("name_of_subwindow");
var textBox = subWindow.
GetControl("name_of_static_text");
textBox.
Text =
"the text you want to show";
}
If you have difficulties finding the static text you can show us your window in WME's WindowEdit.