No categories assigned

LUA:UpdateQuestTaskGroupDescription

Revision as of 20:11, 4 May 2013 by Thefoof (talk | contribs) (Created page with "Updates the description of a quest. This is usually called after completion of a quest. ==== Syntax ==== UpdateQuestTaskGroupDescription(Quest, TaskStepNum, "description string"...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Updates the description of a quest. This is usually called after completion of a quest.

Syntax

UpdateQuestTaskGroupDescription(Quest, TaskStepNum, "description string")

Usage

function ReturnedToStonefist(Quest, QuestGiver, Player)
	UpdateQuestTaskGroupDescription(Quest, 1, "I have won a match against one of the sparring partners.")
	AddQuestStepChat(Quest, 4, "Return to Yasha Redblade.", 1, "I am to return to Yasha Redblade near the ship's hull on Pilgrims' Landing.", 0, 4700005)
	AddQuestStepCompleteAction(Quest, 4, "ReturnToYasha")
end

This updates the taskgroup description for the first taskgroup in the quest "Stonefist's Art of Combat" after completing the third step.


Back to LUA Quest Index