Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 11-16-2012, 02:52 AM
Dunge0nMastr
Hill Giant
 
Join Date: Oct 2002
Location: Rockville, MD
Posts: 124
Default

its pretty easy to do that.

You would want to use sub EVENT ITEM for the item handin, and a sub event say for the hail part:

so it would look something liek this:

Code:
sub EVENT_SAY {
if ($text =~/hail/i) {
	quest::say("Sorry $name i wont talk to you unless you have something for me");
	}
}

sub EVENT_ITEM {
if (plugin::check_handin(\%itemcount, XXXX => 1)) { #checks item, XXXX = item_id, and the => points to the # of items, so => 2, would be two of the items etc
	quest::summonitem(xxxx); #item id that was turned in, to return, i think you can use plugin::return_items(\%itemcount) as well
	quest::assigntask(xx); #task id goes in XX
	}
}
As far as programs for task editing, i know there are a few out there, PEQ Editor will allow you to create tasks, and there also a program called TaskMaster that i used, i know its buried around here on the forums thats worth checking, worked well for me.
__________________
Bront -Server Admin/Owner and Lead Quest Dev for Kildrukaun's Prophecy
http://kpemu.com/
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:25 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3