private void Talk() { //Debug.Log(gameObject.name + " if anybody need my cue, I'm talking now!"); if (OnTalkStart != null) { OnTalkStart(this); } if (isQuestFail && this.gameObject.name == " Briar_Bartender") { dialogueDisplay.conversation = dialogueHolder.conversation[5]; //cheat dialogueDisplay.StartConversation(); } if (isOffended) { dialogueDisplay.conversation = dialogueHolder.conversation[5]; //cheat dialogueDisplay.StartConversation(); } if (!onQuest && !isOffended) { dialogueDisplay.conversation = dialogueHolder.conversation[dialogueHolderIndex]; dialogueDisplay.StartConversation(); } if (onQuest && !isOffended) { dialogueDisplay.conversation = questHolder.questConversation[questHolderIndex]; dialogueDisplay.StartConversation(); } //Debug.Log(dialogueHolderIndex); input.enabled = false; }
public void UserSelectTrue() //This will lead to branch A { Debug.Log("To convo0011"); dialogueDisplay.conversation = questions.correctDestinationBlock; dialogueDisplay.StartConversation(); questionArea.SetActive(false); }
public void UserSelectTrue() //This will lead to branch A { dialogueDisplay.conversation = questions.correctDestinationBlock; dialogueDisplay.StartConversation(); questionArea.SetActive(false); if (OnAnswerSelected != null) { OnAnswerSelected(this); } }
private void Talk() { //Debug.Log(gameObject.name + " if anybody need my cue, I'm talking now!"); if (OnTalkStart != null) { OnTalkStart(this); } Debug.Log(dialogueHolderIndex); dialogueDisplay.conversation = dialogueHolder.conversation[dialogueHolderIndex]; dialogueDisplay.StartConversation(); Debug.Log(dialogueHolderIndex); input.enabled = false; }