Alrighty, some things worked. <3
The speechbubble works nearly perfectly now, only problem is still the auto-close.
(I thought that it might would work with the on LeftClick thingy, but this wasn't the case.)
Anyone got an idea how to make it work?
#include "scripts\base.inc"
method Talk(Inhalt,Notiz,Stimmung
) {
var text1 = Inhalt;
var note1 = Notiz;
var laune;
if (Stimmung == null) laune = "norm1"; // basic window, right side
else
laune = Stimmung; // andere
var dlgWin =
Game.
LoadWindow("interface/talk/norm1.window");
// load the dialogue window dlgWin.
SetImage("ui_elements/talk/"+laune+
".png");
var lettera =
new String(text1
);
for (var i =
0; i < lettera.
Length; i = i +
1)
var letterb =
new String(note1
);
for (var j =
0; j < letterb.
Length; j = j +
1)
}
Also, for the ones that might want to use it:
"Inhalt" (engl.: "content") is a static in the window named "text" and also the maintext in the box.
"Notiz" (engl.: "note") is a static named "note" and is below the speechbubble to make it seem like it was whispered.
"Stimmung" (engl.: "mood") is the background image of the window.
So, once the auto-close is gone it's perfect. x3
Thank you all for the help so far. :>
- R.