View Single Post
  #8  
Old 12-09-2011, 03:36 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Yes, that is how you use it. The only problem with your solution is that many things don't update properly in EVENT_SPAWN, due to it being handled at the same time the NPC is actually being sent to the client. So, to make it work properly 100% of the time, you can just start a timer from event spawn and set it to something like 1 second. Then, the NPC will spawn and a second later it will change its features randomly. Don't forget to stop the timer in the EVENT_TIMER or you will be changing the random features every second.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote