Thread: npcid command
View Single Post
  #5  
Old 12-11-2006, 04:09 PM
bufferofnewbies
Hill Giant
 
Join Date: Dec 2005
Location: Lurking in KY
Posts: 239
Default

ok, I did a little experimenting with this:

useing:
Code:
sub EVENT_SPAWN { 
	quest::settimer("L1",10);
	quest::say("starting timer.");
	 } 
sub EVENT_TIMER { 
	if ($timer = "L1") { 
		$npc->SetAppearance(FILL IN THE NUMBER HERE); 
		quest::stoptimer("L1");
		quest::say("stop timer");
		 }
	 }
I was breaking down the effects to see what was allowed and what wasnt.
It appears only 5 appearances are allowed by this command:

0. default/ standing
1. sitting
2. ducked
3. dead
4. kneeling


I didnt test past this, as I was seeking the Death form, so not sure if it continues on further (sorry, i should have thought of that)

Thanks again for the insight, as it was the $npc->SetAppearance() line that I was totally missing, and never would have found it without ya.
Reply With Quote