public void PlayMessage(DialogOption option) { string msgID = option.NextMsgID; PlayMessage(msgID); if (option.Command != null) { if (option.Command == "Open Bank") { OnBankOpened(); } else if (option.Command.Contains("Start Quest")) { string QuestID = option.Command; QuestID = QuestID.Replace("Start Quest:", "").Trim(); _QuestManager.ActivateQuest(QuestID); } } }