Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Jakey on Fri 05/10/2012 22:14:18

Title: Sierra Text Positioning Efficiency
Post by: Jakey on Fri 05/10/2012 22:14:18
Hi, I'd like to always have the sierra style dialog positioned at the bottom of the screen. The only way I've found to do this is the SayAt(...) function, and pass it some globally defined coordinates. But this requires my dialog files to be filled with function calls rather than the nice looking dialog script syntax.

Code (AGS) Select

@S
    cEgo.SayAt(dialog_x, dialog_y, dialog_width, "Say something.");
    cAlfred.SayAt(dialog_x, dialog_y, dialog_width, "Give a response.");
return


Is there a nicer way to do this? Thanks.

EDIT: I just discovered "Custom dialog options rendering" in the manual. I'm going to do some reading now...
Title: Re: Sierra Text Positioning Efficiency
Post by: Khris on Sat 06/10/2012 04:00:50
It's "Custom Dialog OPTIONS Rendering", as in, you can customize the way dialog options are displayed.
Unfortunately, there's no straightforward way to customize .Say commands.

If you did replace the built in function, you'd still have to call it in every dialog line; what you're doing is the only way I'm afraid.