Adventure Game Studio Official

Legacy issues related to previous versions of AGS and AC

Feature Issue: Dialog.SetOptionText(int option, string text)

Pages: [1]

bolfar

  • Guest
« on: 09 Sep 2006, 16:32 »
Is there a way to display a variable, lets say Game.GlobalStrings[0]  as part of a dialog option name?

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

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

A function like Dialog.SetOptionText(int option, string text) would help.

Crimson Wizard

  • AGSer
  • Posts: 2,524
  • not et suppotreD
« Reply #1 on: 06 Jul 2012, 20:38 »
There's Dialog.GetOptionText introduced in AGS 3.0.2, but no Dialog.SetOptionText yet.

Option texts are stored as an array of chars, so, technically it won't be a problem to change them runtime. Problem is the dialog text is not written to the savegame and will be reset after next game load.
  • Status changed from to New
  • Type changed from to Feature

Issue updated by Crimson Wizard
« Reply #2 on: 27 Mar 2013, 10:27 »
  • Category changed from (none) to Dialogs

Pages: [1]

Issue Details

  • Reported
    09 Sep 2006, 16:32
  • Updated
    27 Mar 2013, 10:27
  • View Status
    Public
  • Type
    Feature
  • Status
    New
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Dialogs

Tags



Powered by: SMF Project Tools 0.5.3 © Niko Pahajoki 2007-2011