SOLVED: Positioning a dialog text box

Started by steptoe, Wed 29/08/2012 11:17:03

Previous topic - Next topic

steptoe

Hi

is there a way-round positioning a 'dialog textgui' as it seems to be hard coded?

I can't see anything in Global and I have even tried re positioning gText.X

cheers



Khris

According to the manual:
"By default, AGS comes with two types of dialog options -- displaying them using the size and position of an existing GUI, or creating a text window to display the options in."

Create and position your GUI, then note its ID and enter it in General settings -> Dialog -> Use GUI for dialog options
(If the GUI was created as textwindow GUI, AGS resizes and centers it automatically, afaik.)

steptoe

#2
Yes, I understand Khris, using a normal gui means you have to flick it on and off which I can do.
Not really the best solution but suffices.

I do find that it ignores the border color though, any reason as to why?


EDIT: imported image for background. Ok. But the options are too close to top and right edges!

EDIT:

Code: AGS

 game.dialog_options_x = 4;
 game.dialog_options_y = 6;


Solves the case.

cheers Khris


SMF spam blocked by CleanTalk