| The Black Wyrm's Lair Terms of Use |
Help
Search
Members
Calendar
|
Jul 11 2006, 05:39 PM
Post
#1
|
|
![]() Mod Developer Posts: 210 Joined: 3-December 05 |
Hello
I want to remove all equipment from my creature when it dies. There are 2 solutions: - Set all items to undropable - Use a script The last one doesn't work : IF Die() THEN RESPONSE #100 DestroyAllEquipment() ReallyForceSpellDead(Myself,RED_HOLY_MIGHT) END Any idea? |
|
|
|
![]() |
Jul 11 2006, 10:15 PM
Post
#2
|
|
|
Forum Member Posts: 53 Joined: 22-March 05 |
In Baldur's Gate II, you could use DestroyAllEquipment() or the (misspelled) DestroyAllDestructableEquipment(), but I don't think they work in Baldur's Gate or TotSC (you shouldn't even be able to compile it, so I'm not sure if you're talking BG1).
Marking the items undroppable in the creature file really should be the easiest solution (assuming that Baldur's Gate respects the creature item flags). This would be tougher if you just wanted it for one instance of a generic creature, in which case you'd need to patch the items or make a new creature. Lastly, if you know the inventory, you can just try a bunch of DestroyItem() calls, one for each item. This post has been edited by devSin: Jul 11 2006, 10:22 PM |
|
|
|
aigleborgne Remove all equipment on death Jul 11 2006, 05:39 PM
Vlasák As for script solution try to read my Non-lethal c... Jul 11 2006, 08:14 PM
aigleborgne Thanks for answer
The trigger "Die" work... Jul 11 2006, 08:50 PM
jastey You could use the area script, with something like... Jul 11 2006, 10:17 PM
aigleborgne It's a mod for BG2-Tutu / BGT, so it should wo... Jul 12 2006, 09:13 AM
CamDawg The creature will drop all of its equipment on dea... Jul 12 2006, 11:27 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 13th May 2026 - 03:11 AM |