1. Script Name
Lootable, destroyabe, non-naked corpse
2. What it does:
Monster does not vanish on death but collapse on the ground. It can be looted,
but one object at a time. Corpse can be destroyed if enough damage is done to
it. Upon destruction, all objects are directly available for collection.
3. Notes:
Each time the player 'open' the corpse, one of the object is removed from the
dead monster and made available in the corpse inventory and an animation is
played on the looting character. If there is no more object on the dead monster,
no looting animation is played. This is nice as you can see your character
'stripping' the corpse of its objects. By the way, the corpse is that of the
real monster, not a generic one and appears with all its objects (armor,
weapons, etc.) until you loot them, that is.
There is no 'on heartbeat' scripts, which is a good thing. Changes to existing
scripts are minimal.
You can find the script in my original posting, here:
Click Here
Comments welcome!
--
Emmanuel Lusinchi (Sentur Signe)