String Dialog.GetOptionText(int option)
Returns the text for the specified dialog option.
OPTION is the option number within the dialog, from 1 to whatever the
highest option is for that topic.
Example:
String optionText = dJoeBloggs.GetOptionText(3);
Display("Option 3 of dialog dJoeBloggs is %s!", optionText);
will display the text for the third option of the dJoeBloggs dialog.
Compatibility: Supported by AGS 3.0.2 and later versions.
See Also: Dialog.OptionCount,
Dialog.GetOptionState
|