EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   task help (https://www.eqemulator.org/forums/showthread.php?t=43944)

Maceblade 09-16-2023 03:35 PM

task help
 
Anyone throw an eyeball at this and tell me why this wont fire:

Code:

  sub EVENT_TASK_COMPLETE
{
        if(quest::istaskcompleted(319) == 1) {
       
                quest::setglobal("CharMaxLevel", "60", "5", "F");
                quest::setglobal("luclin", 1, 5, "F");}
}

also tried:
Code:

sub EVENT_TASK_COMPLETE {
        if($task_id == 319){
                quest::setglobal("CharMaxLevel", "60", "5", "F");
                quest::setglobal("luclin", 1, 5, "F");}
}

It is saved in my globalplayer.pl


All times are GMT -4. The time now is 04:21 PM.

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