Thread: Remove Item
View Single Post
  #14  
Old 07-31-2009, 10:00 AM
Kilralpine
Sarnak
 
Join Date: Jul 2004
Posts: 98
Default

Using this bit of code... I can get trakanon to respond, the addition of the line:
$npc->NukeItem(3233);

Causes the script to break.

Code:
sub EVENT_SIGNAL {
	if($signal == 11) {
	quest::shout("got signal from trigger, removing 1 heart");
	} 
}
^^ WORKING

Code:
sub EVENT_SIGNAL {
	if($signal == 11) {
$npc->NukeItem(3233);
	quest::shout("got signal from trigger, removing 1 heart");
	} 
}
^^BROKEN^^

Anyone know what would cause that quest object to break my script???
Reply With Quote