Difference between revisions of "LUA:AddQuestStepChat"

(New page: '''AddQuestStepChat(Quest, StepID, StepText, TaskGroupID, TaskGroupText, Icon, NPC ID(s))''' ---- This will add a step in your quest script that requires you to go talk to an NPC. Here is...)
 
Line 12: Line 12:
 
The icon I have set to "0" to display no icon. and the NPC ID is set to the NPC that you want to talk to in order to advance the quest.
 
The icon I have set to "0" to display no icon. and the NPC ID is set to the NPC that you want to talk to in order to advance the quest.
  
 +
Here is an example of how the TaskGroupText and StepText are laid out in your journal. Please excuse the crude drawing...
 +
---
 +
Journal
  
 +
TaskGroupText 1: "I need to manipulate two Barbarians into hating each other."
 +
          StepText 1:"I must speak with Tristan. He is standing near the Heated Stone Inn."
 +
---
 
[http://www.eq2emulator.net/wiki/index.php/Developer:LUA_Functions Back to LUA Functions]
 
[http://www.eq2emulator.net/wiki/index.php/Developer:LUA_Functions Back to LUA Functions]
  

Revision as of 15:19, 3 April 2009

AddQuestStepChat(Quest, StepID, StepText, TaskGroupID, TaskGroupText, Icon, NPC ID(s))


This will add a step in your quest script that requires you to go talk to an NPC. Here is an example out of the quest, "He said, he said"


AddQuestStepChat(Quest, 1, "I must speak with Tristan. He is standing near the Heated Stone Inn.", 1, "I need to manipulate two Barbarians into hating each other.", 0, 1390036)


As you can see this is Step 1 of the quest. The TASKGROUP text is what will be displayed as the main step of the quest, the STEPTEXT is what will be displayed under the main step text. The icon I have set to "0" to display no icon. and the NPC ID is set to the NPC that you want to talk to in order to advance the quest.

Here is an example of how the TaskGroupText and StepText are laid out in your journal. Please excuse the crude drawing... --- Journal

TaskGroupText 1: "I need to manipulate two Barbarians into hating each other."

         StepText 1:"I must speak with Tristan. He is standing near the Heated Stone Inn."

--- Back to LUA Functions




--Christopher 17:15, 3 April 2009 (CDT)