UpdateTaskGroupDescription not working

Discussions on development of both the EQ2Emulator LUA Script Engine and Script specifications

Moderator: Team Members

Post Reply
User avatar
thefoof
Retired
Posts: 630
Joined: Wed Nov 07, 2012 7:36 pm
Location: Florida

UpdateTaskGroupDescription not working

Post by thefoof » Sat May 04, 2013 3:57 pm

I'm having issues with this lua function, it doesn't seem like it updates the description string correctly. Currently I get this:
Image

and I want this:
Image


Here's the complete function for the step:

Code: Select all

function ReturnedToStonefist(Quest, QuestGiver, Player)
	UpdateQuestTaskGroupDescription(Quest, 1, "I have won a match against one of the sparring partners.", 1)
	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

User avatar
thefoof
Retired
Posts: 630
Joined: Wed Nov 07, 2012 7:36 pm
Location: Florida

Re: UpdateTaskGroupDescription not working

Post by thefoof » Sat May 04, 2013 7:51 pm

Jab figured this out for me, the last parameter sets the function to not update the description, which doesn't really make sense. Documenting the function on the wiki now.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests