Thread: NPC Spawn Issue: Spiroc Lord
View Single Post
  #23  
Old 12-11-2010, 03:09 PM
Ravhin Ravhin is offline
Sarnak

Ravhin's Avatar

Join Date: Jul 2010
Posts: 308
Default

We, once again, encountered this respawn bug. Spiroc Lord only respawned once, showing that the script is in place for his respawn when Guardian is up, and that it somehow subsequently breaks.

The following describes work by Aeolwind. Is this still in place? Was this changed? http://forums.axclassic.com/viewtopi...=460&view=next

------------------------------------------------

Here is the code I used for Sky and the spiroc lord.

This is on the guardian. Code:

Code:
#The Spiroc Guardian should respawn the Lord if he is alive

sub EVENT_SIGNAL{
if ($signal eq 1){
#quest::shout("I got signal!");
quest::unique_spawn(71012,0,0,760,-243,408.6,100.5);
}
}
And this is the stuff on the lord. Code:

Code:
sub EVENT_DEATH
{
   $x = $npc->GetX();
   $y = $npc->GetY();
   $z = $npc->GetZ();
   $sirran= undef;
   quest::setglobal("sirran",5,3,"M10");
   quest::signalwith(71013,1,0);
   quest::unique_spawn(71058,0,0,$x,$y,$z);
  }
Originally in Sky, when you killed the lord, Sirran would spawn & you'd have to pull him to the other side of the island to keep farming ever 20 minutes or so. This works and is tested.

--------------------------
__________________
Ravhin - 56 Gnome Necro (Project 1999, Retired) <Divinity>
Contributor: Project 1999 Wiki
Ravhin incedo'Marduk - 60 Human Paladin (Live on E'ci, 1999-2001) <Destinati Conquerers>