View Single Post
  #4  
Old 07-01-2014, 05:04 PM
rlie_0
Sarnak
 
Join Date: May 2011
Location: usa
Posts: 94
Default

So my .pl file looks like this to spawn VSR after killing VS

# Spawning Venril_Sathirs_Remains
#

my $x;
my $y;
my $z;
my $h;
my $entid1;
my $mob1;
my $mobnpc1;

sub EVENT_DEATH_COMPLETE {
$x = $npc->GetX();
$y = $npc->GetY();
$z = $npc->GetZ();
$h = $npc->GetHeading();
$entid1 = quest::spawn2(102099,0,0,$x,$y,$z,$h);
$mob1 = $entity_list->GetMobID($entid1);
$mobnpc1 = $mob1->CastToNPC();
}

# EOF zone: karnor ID: 102112 NPC: Venril_Sathir


I try to get this going in game / on server and it fails to spawn him what am I missing?
Reply With Quote