Returns the next question. This is useful in case your answer should potentially branch off into a different direction based on the answers the player has picked earlier/etc..
Returns the next question. This is useful in case your answer should potentially branch off into a different direction based on the answers the player has picked earlier/etc..
1 dialogue object
the dialogue object.
1 string
the question ID.
dialogueHandler.registerQuestion({ id = "manager_finished_feedback_analysis", text = _T("MANAGER_FINISHED_FEEDBACK_ANALYSIS", "Hey boss, I'm done reading feedback from the players of our 'GAME' MMO."), answers = {"generic_continue"}, nextQuestion = "manager_finished_feedback_analysis_result", nextQuestionNothingNew = "manager_finished_feedback_analysis_no_result", getNextQuestion = function(self, dialogueObject) -- the task fact is set only if we've discovered something new if not dialogueObject:getFact("task") then local gameObj = dialogueObject:getFact("game") local logic = gameObj:getLogicPiece(gameProject.MMO_SUBSCRIPTIONS_LOGIC_PIECE_ID) local miscText = logic:getMiscAnalysisText(self, gameObj) if miscText then dialogueObject:setFact("misc_info", miscText) return self.nextQuestion end return self.nextQuestionNothingNew end return self.nextQuestion end, getText = function(self, dialogueObject) return _format(self.text, "GAME", dialogueObject:getFact("game"):getName()) end })