PDA

View Full Version : Dead looking mobs


swish
07-03-2006, 02:26 AM
I was wondering how to make a pop permanently spawn and feign death right away.
I'v tried:
sub EVENT_SPAWN{$npc->SetAppearance(3);}
and it didnt work =(

I was wondering if anyone could help me with that.

Thanks alot =)
Swish.

Sarepean
07-25-2006, 11:29 AM
Have you tried making them cast the spell Feign Death?...

Jibbatwinkers
07-25-2006, 03:49 PM
I ran into this a few weeks ago on my server (insert Zebuxoruk plug here). What i found is that setappearance doesn't work with spawn very well. I think it runs the spawn from perl before the size/level/position and all that stuff is put in so it gets skipped. est way I have found to do it is set it up in a signal, and use another NPC via hail or spawn to trigger that signal and use setappearance there. Kind of strage but hope it helps.

fathernitwit
07-27-2006, 12:11 PM
best thing to do is schedule a timer to trigger on yourself at spawn time, and change the appearance on timer trigger.

aza77
07-27-2006, 11:01 PM
we did about the same at our server .. the problem is that peoples zoning in after the appearance change happened don'T get the right update and will still see the mob standing.