Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 07-16-2016, 11:24 PM
superemu
Sarnak
 
Join Date: May 2014
Posts: 79
Default Spawn NPCs with no weapons

I added two new npcs, but when they spawn they have a random weapon or no weapon in their hands. How can I make sure that they have no weapons in their hands when they spawn?
Reply With Quote
  #2  
Old 07-17-2016, 12:37 AM
atrayas
Hill Giant
 
Join Date: Jun 2010
Posts: 105
Default

if they have loot you need to check there loot tables and ensure they cant equip loot. Another easy method is to use

plugin::SetWeapons(PrimaryModel, SecondaryModel, EnableRemoving? );
Reply With Quote
  #3  
Old 07-18-2016, 12:20 PM
superemu
Sarnak
 
Join Date: May 2014
Posts: 79
Default

Thank you!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:53 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3