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

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

Reply
 
Thread Tools Display Modes
  #1  
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
  #2  
Old 11-16-2012, 03:15 AM
Mylz17
Fire Beetle
 
Join Date: Jan 2010
Location: PA, USA
Posts: 3
Default

Thank you!!! I was kinda-sorta on my way to figuring it out, at least the fact that I just needed to summonitem back to the player, other than that, I was lost.

THANK YOU! This was one big hurdle for me, I'm still all very new to this. Now I can get to writing more tasks.
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:40 PM.


 

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