Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 03-28-2015, 10:28 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

Code:
sub EVENT_SPAWN{
quest::settimer(1, 3);
}
 
sub EVENT_TIMER{
	if($timer == 1) {
	quest::say("timer hits");
	my @nlist = $entity_list->GetNPCList(); #::: Use Entity List Object to get this
		foreach my $n (@nlist){ #::: Iterate through each NPC in the @nlist array
		quest::say("got entity list");
			if (plugin::CheckDistBetween2Ents($npc, $n, 50)) {
			#$n->AddToHateList($client,1);
			quest::say("im too close");
			}
		}
	}
}
Included debugging. I get to pulled entity list. So checkdistbetween must not be working. I had noticed early i didnt have your additions for it in the pluggins, so i snagged those and restarted server. But that was a while ago.
__________________
Reply With Quote
 


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:37 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