View Single Post
  #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