Classes

Concepts

Libraries

Objects

contractor »

conversationAnswerData »

engineStatData »

issueData »

playerPlatformSpecialistData »

projectReviewConclusion »

projectReviewRemark »

randomEventData »

statusIcon »

onStart

Description

Abstract. Called when starting this question.

Arguments

1 string answerID

the answer ID that the question was picked from, it can be nil (in case the conversation has just started).

Example

dialogueHandler.registerQuestion({
	id = "rival_company_2_threaten_3_agreed",
	revealPortrait = true,
	onStart = function(self, dialogueObject)
		local company = dialogueObject:getFact(rivalGameCompany.COMPANY_REFERENCE_DIALOGUE_FACT)
		company:setAnger(0)
		company:setIntimidation(0)
	end,
	
	text = _T("RIVAL_COMPANY_2_THREATEN_3_AGREED", "Great, I'm glad we managed to sort this out."),
	
	answers = {"generic_hang_up"},
})