Thread: task help
View Single Post
  #1  
Old 09-16-2023, 03:35 PM
Maceblade
Hill Giant
 
Join Date: Jun 2010
Posts: 231
Default 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
Reply With Quote