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-04-2008, 09:03 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default poblem with set apperances

Code:
sub EVENT_SPAWN
{
	quest::settimer("tmr1",1);

}


sub EVENT_TIMER
{
	if($timer eq "tmr1")
	{
	$npc->SetAppearance(1);
	quest::stoptimer("tmr1");
	}
}
simple enough right?

2 problems.

1. if you NOT in the zone when mob has spawned, it will appear to be standing up.
2. If mob does laying down, and you begin to fight it - it will stand up, hit you, and drop back down. When mobs attack delay is up, it will stand up again, hit you, and fall again...

Logicaly #stoptimer should have prevented mobs from falling down again, but it don't seem to be happening.
Reply With Quote
  #2  
Old 04-05-2008, 05:34 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I normally do the stop timer before anything else. Though, I don't think that should cause problems. Not sure why yours are laying back down again like that. Once thing you might want to do is up the timer number considerably, because it takes a bit for the zone to fully load and I don't think players will see the animation properly unless they have fully loaded in when it happens. Try setting it to 10 or so and see what happens.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 04-05-2008, 03:35 PM
Cripp's Avatar
Cripp
Discordant
 
Join Date: Oct 2003
Location: The Shire
Posts: 474
Default

Quote:
Originally Posted by ChaosSlayer View Post
1. if you NOT in the zone when mob has spawned, it will appear to be standing up.
this has been a big problem for me for a long time.. i have alot of those kind of scripts and to make them actualy work i have to go into the zone and do a #repop.. it doesnt seem to work when the zone is booted.
__________________
Nug Blazers - ServerOP / founder
^^comming... later!

www.nugblazers.com
Reply With Quote
Reply


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 01:59 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3