All pages
Powered by GitBook
1 of 1

Loading...

SetSelectedOption(int)

Method in Dialogue

Summary

Signals to the Dialogue that the user has selected a specified Option .

public void SetSelectedOption(int selectedOptionID)

Remarks

After the Dialogue delivers an OptionSet, this method must be called before Continue() is called.

The ID number that should be passed as the parameter to this method should be the ID field in the Option that represents the user's selection.

Parameters

Name
Description
  • : Represents the method that is called when the Dialogue delivers an .

  • : A set of s, sent from the to the game.

  • : Starts, or continues, execution of the current Program.

int selectedOptionID

The ID number of the Option that the user selected.

See Also

OptionsHandler
OptionSet
OptionSet
Option
Dialogue
Dialogue.Continue()