I have created a dialogue window which in many ways works very well, essentially what happens is that pictures of the main character and the npc are loaded in to picture controls, and the text was loaded into a text control. Unfortuanately by loading the text into a text box I lost the hard coded functionality in the standard talk statement. I have managed to code something up to give me a reasonable delay but I cannot work out a way of using the leftclick to speed through the dialogue.
So I then decided to create an object, a talk robot which would use a talkrobot.Talk command to speak, and in order to ensure the correct screen position of the text I was using the subtitlesPosX derived from a window control posX. Unfortunately the control posX seems to be a position relative to the window and not the screen.
In my revised talk function I have allowed for the possibility of sending a x value through, but this does not work when I have screens which scroll and actors who may have different positions in which to speak from.
Working on the dangerous assumption that someone can understand the scenario, do any of you have an suggestions, my own thoughts are something along the tracking the screen width, the relative position of the object being spoken to and the position of the actor when he is speaking.
thanks