Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 09-23-2008, 12:12 AM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

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 =)
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:03 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3