View Single Post
  #2  
Old 02-09-2008, 09:03 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

I think the easiest way to do this is a quest:
Code:
sub EVENT_SPAWN {
	quest::settimer(1,1);
}

sub EVENT_TIMER {
	if($timer eq "1") {
		$npc->SetAppearance(1);
		quest::stoptimer(1);
	}
}
This is taken from the Kerafyrm script to make he/she/it go to sleep on spawning. I'm not sure if there are any issues with just executing it under EVENT_SPAWN, but you can also try that:
Code:
sub EVENT_SPAWN {
	$npc->SetAppearance(1);
}
I'm sure there is a list somewhere of the different appearances, but I can't find any offhand.

Hope this helps.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote