Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 04-24-2010, 11:08 AM
Kayen
Developer
 
Join Date: Mar 2009
Location: -
Posts: 228
Default

Quote:
Originally Posted by Lillu View Post
yep, basically as an ultimate workaround, I'm setting up invisible man NPCs and put them wherever. Can simply change their size and effect with a simple #repop and #reloadquest.
Yeah that is what I ended up doing.

But it does limit its function to a certain degree.
Reply With Quote
  #2  
Old 04-24-2010, 02:07 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

The thing with particles is that they are easy to get crazy with because they have so much visual potential. I have added a ton of particles on my server but most of them are on walk-up scenarios. Hopefully that gives some of you ideas who create invisible NPC's for particles...

This is for non static particles, limits the amount of packet spam to the entire zone of clients. I do the same thing for NPC scenes. Just an idea, you can do whatever you please. Hopefully that helps!
This is actually
Examples as follows:





Code:
sub EVENT_SPAWN {

    my $x = $npc->GetX();
	my $y = $npc->GetY();
	my $z = $npc->GetZ();
	my $range = (80);
	quest::set_proximity($x - $range, $x + $range, $y - $range, $y + $range, $z - 40, $z + 20);
}


sub EVENT_ENTER
{
			quest::settimer(effect,1);	
}

sub EVENT_EXIT
{
			quest::stoptimer("effect");
}


sub EVENT_TIMER
{
	if($timer eq "effect"){
		$npc->CastToMob()->SendAppearanceEffect(201,189);
			quest::stoptimer("effect");
			quest::settimer("effect",1);

}
}

Last edited by Secrets; 04-24-2010 at 11:50 PM..
Reply With Quote
Reply

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 07:20 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