01-23-2014, 12:14 PM
|
Hill Giant
|
|
Join Date: Sep 2013
Posts: 118
|
|
Quote:
Originally Posted by kimura
im trying to make a boss at 35% become unattackable and change it's name temporarily when it spawns some adds...here is part of the script that isn't working and I cant figure out what to use...
the commented out part is the part not working...
Code:
if($hpevent == 35)
{
#$npc->SetTargetable(false);
#$npc->Tempname("custom name here");
quest::shout("blah blah");
quest::spawn2(1241,0,0,($x + 20),$y,$z,$h);
quest::spawn2(1241,0,0,$x,($y + 20),$z,$h);
quest::spawn2(1241,0,0,($x + 20),($y + 20),$z,$h);
quest::spawn2(1241,0,0,($x + -20),$y,$z,$h);
quest::spawn2(1241,0,0,$x,($y + -20),$z,$h);
quest::spawn2(1241,0,0,($x + -20),($y + -20),$z,$h);
}
I have a signal from the adds to make the boss go back to normal....obviously not working either...
Code:
sub EVENT_SIGNAL
{
if($signal == 1234)
{
#$npc->SetTargetable(true);
#$npc->Tempname();
}
}
any suggestions would be greatly appreciated!
Thanks,
Kimura
|
I got you.. I'll do it for you in a bit an post it here.
|