How can i stop creatures auto-equipping items in there inventory ?
Auto-equipping of items
Débuté par
Madasahatter
, déc. 04 2010 07:59
#1
Posté 04 décembre 2010 - 07:59
#2
Posté 04 décembre 2010 - 07:51
Can you be more specific? Are these loot items? Are they equipping weapons while not hostile? Is what they are equipping intened as loot only?
#3
Posté 04 décembre 2010 - 11:06
Yes, Im using silicon scouts treasure system and some creatures are using potion / scrolls and equiping weapons. and this is intended as loot.
#4
Posté 04 décembre 2010 - 11:58
This is one reason why many systems spawn these ondeath. Another way is to ensure that the weapons they're already using are better than the ones they're trying to equip.
Funky
Funky
#5
Posté 05 décembre 2010 - 12:17
This may be a difference with NWN2 (sorry all - just trying to help here), but in NWN1 can NPCs use items that are not already identified? If not, set them as unidentified.
#6
Posté 05 décembre 2010 - 12:21
they can..._Knightmare_ wrote...
This may be a difference with NWN2 (sorry all - just trying to help here), but in NWN1 can NPCs use items that are not already identified? If not, set them as unidentified.
As Funky said, most loot systems generating loot when monster just die. You should use one like that, consider if you can switch loot system. (anyone know any good?)
#7
Posté 05 décembre 2010 - 02:58
Just move treasure creation from your OnSpawn event into your OnDeath event. You shouldn't require a whole new system for this.
#8
Posté 07 décembre 2010 - 06:54
Thanx will give it a go
#9
Posté 07 décembre 2010 - 07:39
Changed loot spawn to ondeath and all seems to be working ok, no auto equiping now
still need to test some but seems good.
Thnx
Thnx





Retour en haut






