Exemple #1
0
    public override void DoSpeech()
    {
        if (index != -1)
        {
            if (index < speech.Length)
            {
                if (optionsIndexes[index] == true)
                {
                    if (index == 2)
                    {
                        int optionIndex = DialogueTextUI.Instance.GetOptionIndex();

                        if (optionIndex == 0)
                        {
                            questBase.Activate();
                        }
                    }
                }
            }
        }

        base.DoSpeech();
    }