EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Task Complete (https://www.eqemulator.org/forums/showthread.php?t=29186)

Randymarsh9 08-09-2009 03:33 PM

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

trevius 08-09-2009 05:11 PM

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

Randymarsh9 08-09-2009 06:08 PM

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.

trevius 08-09-2009 06:28 PM

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.


All times are GMT -4. The time now is 11:42 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.