Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-09-2009, 03:33 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default Task Complete

is there some event like sub EVENT_TASK_COMPLETED? I can't find anything that would just activate when someone completes a certain task
Reply With Quote
  #2  
Old 08-09-2009, 05:11 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Many of the questions you ask can be answered by a quick look in the wiki:

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

Here is the example of what you are wanting in this case:

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

Code:
sub EVENT_TASK_STAGE_COMPLETE
Exports $task_id and $activity_id.
And more info on the player.pl file (which is where you use this event type):

http://www.eqemulator.net/wiki/wikka...rQuestExamples
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 08-09-2009, 06:08 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

Yeah I saw the task stage complete one, but I meant one as in completing the ENTIRE task, not just one activity. I made a work around by just adding in a final step that was just like walk somewhere, then I had the event take place after that activity was completed.
Reply With Quote
  #4  
Old 08-09-2009, 06:28 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

All tasks have to have activities, so if you set the check for completing the last activity in any task, it will do exactly what you are wanting. You can do the checks at any point of the task progress, including the final step.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
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 03:42 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3