Lazarus Magni wrote...
Thanks for the info you two. I will look into these options. It's too bad the systems on the vault only work for PCs, there are some decent ones on there. Why is it odd though Failed Bard? And I am in fact using nwnx (windows), and have the nwnx_functions plugin installed so this might be a good solution if I can just add that line to the on spawn event scripts used.
I've just never seen a mod where non-DM controlled NPCs would pick-pocket outside of scripted events. Glad to hear the NWNX function is working for you, though.
Baragg wrote...
I may be a bit off, but can't you use the onmodload handle to set items above XXX gold value where they can't be pickpocketed?
It's the OnAquire script you do that in. I use this in the one for my little mod.
object oItem = GetModuleItemAcquired ();
if (GetWeight (oItem) >= 30) SetPickpocketableFlag (oItem, FALSE);
Weight is in 1/10ths of a pound, so in this case any item over 3 pounds is set as unpick-pocketable the moment any PC or NPC "aquires" it, which they do on spawning (npc) or entering the game world (pc).
Modifié par Failed.Bard, 31 juillet 2011 - 01:45 .