readonly int Dialog.OptionCount;
Gets the number of options that this dialog has.
This might be useful in a script module if you want to iterate through all
the possible choices in the dialog.
Example:
Display("dFisherman has %d options!", dFisherman.OptionCount);
will display the number of options in the dFisherman dialog.
Compatibility: Supported by AGS 3.0.2 and later versions.
See Also: Dialog.GetOptionText,
Dialog.GetOptionState
|