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 02-22-2009, 03:24 PM
Zeice
Sarnak
 
Join Date: Oct 2008
Location: USA
Posts: 92
Default Task Question

I'm trying to setup a task where you have to loot a groundspawn to get credit for part of the task, sort of like a gather quest in a number of other newer MMOs. However it's not working right. I used the loot activity but that doesn't do anything, I've tried a few others but they aren't updating the task either. I'm assuming something like this would have to be done through a perl script to update the activity, but I'm not sure which quest command to use to check that a player looted a ground spawn, or looted an item. Any help would be much appreciated.
Reply With Quote
  #2  
Old 02-22-2009, 03:34 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

I think you would use Player Quests for this:

http://www.eqemulator.net/wiki/wikka...rQuestExamples

Something along the lines of:

Code:
sub EVENT_PLAYER_PICKUP {

	if($picked_up_id == 12345) {
		if(quest::istaskactivityactive(taskid, activityid)) {
			quest::updatetaskactivity(taskid, activityid);
		}
	}
}
Reply With Quote
  #3  
Old 02-22-2009, 03:39 PM
Zeice
Sarnak
 
Join Date: Oct 2008
Location: USA
Posts: 92
Default

That worked like a charm. Thanks.
Reply With Quote
Reply


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 10:15 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3