View Single Post
  #4  
Old 03-17-2014, 01:13 AM
Township EQ
Hill Giant
 
Join Date: Sep 2013
Posts: 118
Default

Here are two working examples of those events you couldn't get to work.. hope this helps you a bit.

On task complete you can set that signal.

Code:
sub EVENT_TASK_STAGE_COMPLETE {
	if($instanceversion == 2) {
		if(($task_id == 210) && ($activity_id == 3)) {
			#quest::enabletitle(30);
			$client->SetTitleSuffix(", Voice of the Oppressed", 1); #gayest title
			$client->Message(15, "You have been given a special title for your act of kindness and bravery.");
		}
	}
}
Code:
sub EVENT_TASK_COMPLETE {
	if($task_id == 210) { # rescue seiya
		$client->AddAlternateCurrencyValue(14, 25); #25 faycitum boiii
		$client->Message(15, "You have been awarded 25 " .quest::varlink(100941). " for completing 'Rescue Seiya!'.");
		$client->UpdateTaskActivity(212,0,1);
		quest::assigntask(213);
		plugin::MM("You have been assigned the task 'Unmasking the Chapel'.");
	}
}
Reply With Quote