View Single Post
  #1  
Old 01-26-2016, 05:38 PM
Excuses
Hill Giant
 
Join Date: Mar 2015
Posts: 126
Default Task Completed - Move on

Hey guys,

Just wondering, i have been trying to get this to work, hoping someone can shed some light on anything i might be missing.

The task is being handled via EoC Task creation, the reward is via PERL method.

I would like when the task to be "Completed" that it automatically assigns a new task.

Code:
  sub EVENT_TASK_COMPLETE
{
	if($task_id == 26) 
	{
		quest::assigntask(29);
	}
}
OR, if it helps another way i was thinking was if you have not completed task 26, you cannot be assigned task 29.

Still getting my head around PERL if / els statements, seems to be more picky picky on how those statements are handled than PHP (i am fluent with php)

Any light to be shed would be greatly appreciated!
Reply With Quote