you can also make a simple prox trap.
You make an invis npc triger holder with folowing script (below) who will spawn an actual npc, and then can either be set of wait timer or depop to prevent chain spawning (unles its your intent) (in PoJ on death Row there are crates in the ground- when steped on it will spawn a banshee every 60 seconds)
Quote:
sub EVENT_SPAWN
{
my $x;
my $y;
my $z;
my $h;
$x = $npc->GetX();
$y = $npc->GetY();
$z = $npc->GetZ();
$h = $npc->GetHeading();
quest::set_proximity( $x-25,$x+25,$y-25,$y+25,$z-25,$z+25);
}
sub EVENT_ENTER
{
my $x;
my $y;
my $z;
my $h;
$x = $npc->GetX();
$y = $npc->GetY();
$z = $npc->GetZ();
$h = $npc->GetHeading();
quest::spawn2(9999,0,0,$x,$y,$z,$h);
quest::depop();
}
|
but of course this wasnt what i was refering to - I want actual npc rogues =)