override public void Initialize() { if (questBase.IsActive() == false) { startingIndex = 0; finishingIndex = 3; } if (questBase.IsActive() == true) { startingIndex = 3; finishingIndex = 4; speech[3] = questBase.GetEnemiesLeft().ToString() + " enemie(s) still left"; } if (questBase.IsComplete() == true) { startingIndex = 4; finishingIndex = 5; speech[4] = "THE WHOLE SHABANG WORKS!"; } index = startingIndex - 1; Debug.Log("index = " + index); Debug.Log("start = " + startingIndex); Debug.Log("finish = " + finishingIndex); }