EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Spawn NPCs with no weapons (https://www.eqemulator.org/forums/showthread.php?t=40767)

superemu 07-16-2016 11:24 PM

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?

atrayas 07-17-2016 12:37 AM

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? );

superemu 07-18-2016 12:20 PM

Thank you!


All times are GMT -4. The time now is 08:39 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.