Difference between revisions of "LUA:AddQuestStepKill"

(New page: '''Syntax'''<br> AddQuestStepKill(Quest, StepID, StepText, Quantity, Percentage,TaskGroupText, Icon, NPC ID(s)) '''Explination'''<br> This is a function that allows you to assign an NPC(s...)
 
Line 5: Line 5:
 
This is a function that allows you to assign an NPC(s) to killto advance the quest. Here is an example out of the quest, "Kill or be killed"<br>
 
This is a function that allows you to assign an NPC(s) to killto advance the quest. Here is an example out of the quest, "Kill or be killed"<br>
  
   AddQuestStepKill(Quest, 1, "Anthony Glavias must be relived of his duty as a member of the Freeport Militia.", 1, 100, "Militia member, Anthony Glvias, has proven to be too incompetant to serve in the Freeport Militia. He must be relived of his duty. He is currently stationed West of the Fountain of the Fallen Soldier.", 0, 1390013)
+
   AddQuestStepKill(Quest, 1, "Anthony Glavias must be relived of his duty as a member of the Freeport Militia.", 1, 100, "Militia member, Anthony Glvias, has proven to be too<br> incompetant to serve in the Freeport Militia. He must be relived of his duty. He is currently stationed West of the Fountain of the Fallen Soldier.", 0, 1390013)
 
 
  
 +
Keep in mind you will want that all to be one line, but for the sake of keeping it all on the page here I added a brake in it.
 
[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:41, 3 April 2009

Syntax
AddQuestStepKill(Quest, StepID, StepText, Quantity, Percentage,TaskGroupText, Icon, NPC ID(s))

Explination
This is a function that allows you to assign an NPC(s) to killto advance the quest. Here is an example out of the quest, "Kill or be killed"

 AddQuestStepKill(Quest, 1, "Anthony Glavias must be relived of his duty as a member of the Freeport Militia.", 1, 100, "Militia member, Anthony Glvias, has proven to be too
incompetant to serve in the Freeport Militia. He must be relived of his duty. He is currently stationed West of the Fountain of the Fallen Soldier.", 0, 1390013)

Keep in mind you will want that all to be one line, but for the sake of keeping it all on the page here I added a brake in it. Back to LUA Functions