Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: bolfar on Mon 21/08/2006 07:25:16

Title: Displaying a variable as a dialog option name
Post by: bolfar on Mon 21/08/2006 07:25:16
Hi, there.
This is my first post in this forum, since now the help file and forum search did the trick ...

Is there a way to display a variable, lets say Game.GlobalStrings[0]  as part of a dialog topic name?

For example, option name to be:
- Have you seen my *Game.GlobalStrings[0]*?

I can do it in a dialog using run-script command, but can't find a way to do it as a option name.

Thanks
Title: Re: how to display a variable as a dialog option name?
Post by: SSH on Mon 21/08/2006 08:06:17
That's because there isn't one, unless you use a customised dialog interface, such as monkey_05_06's ScrollingDialog script module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=27930).
Title: Re: how to display a variable as a dialog option name?
Post by: Pumaman on Sat 26/08/2006 12:50:14
Yes, currently you cannot change the name of dialog options at runtime. Would anyone else find the ability to do so useful?
Title: Re: how to display a variable as a dialog option name?
Post by: strazer on Sat 09/09/2006 16:36:25
Yes, I think it at least deserves a tracker entry: http://www.adventuregamestudio.co.uk/tracker.php?action=detail&id=587