a more complicated NWNEE idea
Tuebits
Member Posts: 6
been at this for days now and totally out of ideas and ability. I have a boss with 2 guards, all of which I want to be immortal. an item must be pickpocket from each guard to make them vulnerable, the boss becomes vulnerable once the guards have been dispatched.
I first tried making a full immunity necklace, but that cannot be pickpocked while equipped, not been able to figure out how to make creature unequip necklace when a different item has been pick pocketed from them.
I have not even started on the Boss immunity yet. but I suspect it even more difficult.
any help would be appreciated.
I first tried making a full immunity necklace, but that cannot be pickpocked while equipped, not been able to figure out how to make creature unequip necklace when a different item has been pick pocketed from them.
I have not even started on the Boss immunity yet. but I suspect it even more difficult.
any help would be appreciated.
0
Comments
Slightly simpler - since players can't see whether the necklace is equipped or not, you could just leave it in inventory, spawn the creatures with SetImmortal, then remove immortality using the same function when the necklace is stolen.
For future reference, you can use SetImmortal directly on creatures, rather than using an item with a property. You can also remove properties from an item. If you get stuck with things like that, you can post your code here.
The reason forced unequip is hit and miss is that AI will often cancel the action. The fix for this is in the SetCommandable examples in the Lexicon. Recommended reading, because you will have this issue with almost any action you give to creatures, especially hostiles and associates.