The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

> Remove all equipment on death
aigleborgne
post Jul 11 2006, 05:39 PM
Post #1



Group Icon

Mod Developer
Posts: 210
Joined: 3-December 05




Hello smile.gif

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?
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
Vlasák
post Jul 11 2006, 08:14 PM
Post #2


Mathematical poet


Retired team member
Posts: 159
Joined: 9-July 04
From: Prague, Czech Republic




As for script solution try to read my Non-lethal compat tutorial - http://www.blackwyrmlair.net/Tutorials/nonlethal.php . It contains some ideas that can be usable for your needs.

According my testing Die() is quite reliable so there should not be the problem. Have you tried run your script with True() trigger or some checking of debug global to find out whether actions in this block really work?

Maybe you could try nest your actions inside ActionOverride...


--------------------
Baldur's Gate II add-on CZ - TC from Dalelands
http://addoncz.gamestar.cz

English forums are opened!
Go to the top of the page
 
Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 30th June 2026 - 01:01 AM